Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: remove directory path

by helgi (Hermit)
on Mar 02, 2006 at 14:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://533886]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-19 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found