Hi all,

I have the following line in my Perl script

$test=$ARGV[0] which dumps the following results

=D:\temp\test\filename

I need to extract only the "filename" to the right of the last "\" and put that into a 
variable.
There could only be one "\" in the path or possibly more. This will vary based on 
directory structure.

How would I go about this?




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to