![]() |
|
No such thing as a small change | |
PerlMonks |
Re^2: Dynamic population of a hashby JFarr (Sexton) |
on Nov 08, 2005 at 22:14 UTC ( #506919=note: print w/replies, xml ) | Need Help?? |
Forgive me, I'll be more specific.
With the strings that will be read in from the file, how would I make the the mappings dynamically..
So if the first $T is /Workstation_X_X/<someotherpath>/filename.xxx, would I do something like:
Now somes the other question, being so new to perl, how do would you parse the "/Workstation_X_X/<someotherpath>/filename.xxx" strings into the X,Y,Z? Using reg expression? grep? some magic?
In Section
Seekers of Perl Wisdom
|
|