Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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


Comment on Re: remove directory path
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-08-30 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (351 votes), past polls