Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How do I split a string containing path+filename

by arturo (Vicar)
on May 14, 2001 at 18:30 UTC ( [id://80210]=note: print w/replies, xml ) Need Help??


in reply to How do I split a string containing path+filename

For maximum portability, use File::Basename, a standard CPAN module:

use File::Basename; use strict; # get full path in $path my $filename = basename($path);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://80210]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-24 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found