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

Re: capturing terminal directory relative path?

by liverpole (Monsignor)
on Mar 07, 2010 at 16:09 UTC ( #827247=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $base = basename("/home/BORK/work/test-backfills/cp_test/82802");
    
    # Note that $base is now '82802'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://827247]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-05-30 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?