Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Weird File::Basename::basename (yes, but)

by Anonymous Monk
on Mar 26, 2013 at 16:42 UTC ( #1025556=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Weird File::Basename::basename (yes, but)
in thread Weird File::Basename::basename

When executing a command it does make a difference whether to say "foo" or "./foo"

not on cmd.exe, cwd is first place searched

:) spec/basename are useful, but they're kinda low-level, I prefer abstractions like Path::Class and Badger::Filesystem and absolute paths, so file( ... )->absolute


Comment on Re^3: Weird File::Basename::basename (yes, but)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2016-02-09 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (307 votes), past polls