Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[shmem]: grappa, ginebra o amaretto?
[shmem]: LanX: tried strange stuff wrt autocomplete. No luck :(
[erix]: sambuca
[LanX]: machiato!
shmem fills a glas with sambuca, drops 3 beans of coffee into it, lights the stuff and hands it to erix
[Your Mother]: Liquore Strega. :P
[shmem]: s/beans of coffee/enterprise beans/ :-P
[erix]: Take your bottles -- you're all invited! :)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-03-28 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.