Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Newbie Question -- Changing File Path?by azatoth (Curate) |
on Jun 25, 2001 at 19:45 UTC ( [id://91316]=note: print w/replies, xml ) | Need Help?? |
TIMTOWTDI! Use Getopt::Long to get the user to enter command line options, i.e. the path. Then, use concatenation to join the $path with the file name!
Or if we're dealing with an array of files in the same dir :
HTH Azatoth a.k.a Captain Whiplash Make Your Die Messages Full of Wisdom! Get YOUR PerlMonks Stagename here! Want to speak like a Londoner?
In Section
Seekers of Perl Wisdom
|
|