Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Using split

by IlyaM (Parson)
on Mar 07, 2003 at 10:15 UTC ( #241100=note: print w/ replies, xml ) Need Help??


in reply to Re: Using split
in thread Using split

File::Basename was a Perl core module for ages (it is not mentioned in perl5004delta and perldelta so I presume it was avialable even in 5.003). Anyway here an example of its usage:

use File::Basename; my $fname = basename('/home/bin/scripts/test.pl');

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org


Comment on Re: Re: Using split
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-08 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls