Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: remove directory path

by helgi (Hermit)
on Mar 02, 2006 at 14:12 UTC ( #533886=note: print w/replies, xml ) Need Help??


in reply to remove directory path

#!/bin/perl use warnings; use strict; use File::Basename; my $file = '//server/path/filename.ext'; print basename($file);


--
Regards,
Helgi Briem
hbriem AT f-prot DOT com

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://533886]
help
Chatterbox?
erix just did a 12 km-run. Slow, but unstoppable!
[choroba]: My recent record is 10km in 1 hour :)
[perldigious]: Nice erix... perldigious' legs are so sore from portaging his kayak from place to place last weekend he can barely hobble 12m. :-)
[erix]: you're faster than me then :)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-05-24 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?