Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Keep It Simple, Stupid
 
PerlMonks  

Re^2: remove directory path

by sen (Hermit)
on Mar 02, 2006 at 13:47 UTC ( #533879=note: print w/ replies, xml ) Need Help??


in reply to Re: remove directory path
in thread remove directory path

try this..

$file = "/opt/local/bin/zap.exe"; $file = (split(/\//, $file))[-1]; print $file;


Comment on Re^2: 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://533879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2014-04-17 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls