Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Anonymous Monk
on Mar 26, 2013 at 16:42 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1025556]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found