Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Weird File::Basename::basename

by McA (Priest)
on Mar 27, 2013 at 04:29 UTC ( #1025626=note: print w/replies, xml ) Need Help??


in reply to Weird File::Basename::basename

Hi,

UPDATE: I made a little test program in C to see the behaviour there. Interestingly the basename('') is '.'. So it seems we have now three different results:

  • Shell: basename '' => ''
  • File::Basename: basename '' => './'
  • C basename: basename '' => '.'

McA

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-12-10 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (162 votes). Check out past polls.