No such thing as a small change | |
PerlMonks |
How to grep for a filename for each of the keys of a hashby perl_mystery (Beadle) |
on Dec 13, 2010 at 04:01 UTC ( [id://876785]=perlquestion: print w/replies, xml ) | Need Help?? |
perl_mystery has asked for the wisdom of the Perl Monks concerning the following question: Hi, I have the following two simple questions.I wrote the following ,need your input if there is a better way. 1.I want to grep for a variable $filename for all the keys in a hash "path_versions",
2.I have the below line in a variable "$depopath" where parts of it are seperated by spaces,I want to get only the part after the last space.In this case just "Z:\repo\bin\tools\scripts\shared\users\script.pl" +//depot/asic/tools/scripts/shared/users/script.pl //cspec/tools/scripts/shared/users/script.pl Z:\repo\bin\tools\scripts\shared\users\script.pl
Back to
Seekers of Perl Wisdom
|
|