Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Weird File::Basename::basename

by McA (Deacon)
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


Comment on Re: Weird File::Basename::basename
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls