|Do you know where your variables are?|
parse file nameby Anonymous Monk
|on Sep 22, 2009 at 17:23 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I am looking for a perl regex that parse filename, extension and folder name from a whole file_path.
ex : $file = '/abc/xyz/abc.txt'
I need to parse filename , folder path and extension from the $file