There's more than one way to do things | |
PerlMonks |
Re: Perl script does not work on other directories?by 2teez (Vicar) |
on Nov 23, 2014 at 10:58 UTC ( [id://1108152]=note: print w/replies, xml ) | Need Help?? |
I think you want to use chdir to change into the directory you want. I also think, it would be great if you can open the files one after the other immediately and check for desired string.
If you tell me, I'll forget. If you show me, I'll remember. if you involve me, I'll understand. --- Author unknown to me
In Section
Seekers of Perl Wisdom
|
|