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

Re^3: unlink fails to delete files with perculiar names

by stefbv (Deacon)
on Nov 22, 2011 at 09:18 UTC ( #939397=note: print w/replies, xml ) Need Help??


in reply to Re^2: unlink fails to delete files with perculiar names
in thread unlink fails to delete files with perculiar names

I think it is not useless it's about dealing with spaces in file names.

Update: Sorry, made some further tests and I was wrong.

  • Comment on Re^3: unlink fails to delete files with perculiar names

Replies are listed 'Best First'.
Re^4: unlink fails to delete files with perculiar names
by salva (Abbot) on Nov 22, 2011 at 09:45 UTC

    The only effect of putting some var inside quotes is to convert it into an string but Perl already does that for your implicitly most of the times.

    It only makes a difference in those rare cases where the internal representation of the variable determines what to do. For instance, the given construction in Perl 5.10 uses different comparisons when the internal representation of the scalar is a number or a string (and it is currently considered broken because of that).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939397]
help
Chatterbox?
[choroba]: Yeah, my wife sent me some pictures of the children yesterday, and there was snow all around. 10 days in Saigon and I totally forgot what weather they have back there.
[stevieb]: We've had so much snow here this year that the whole area is pretty much under constant avalanche warnings (and avalanches pretty much daily all over the place)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-02-23 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (350 votes). Check out past polls.