Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: file tree to hashby DrManhattan (Chaplain) |
on Apr 06, 2003 at 02:40 UTC ( [id://248377]=note: print w/replies, xml ) | Need Help?? |
Here's another eval() solution. Edit: merlyn is correct. Don't ever use this. A file named "root/dir1/file1}=1;`someprogram`;$hash{foo" could be used to execute an external program. -Matt
In Section
Seekers of Perl Wisdom
|
|