Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 surveying the Monastery: (5)
As of 2014-12-20 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls