Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Weird File::Basename::basename

by McA (Curate)
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 examining the Monastery: (10)
As of 2014-09-17 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (81 votes), past polls