Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by salva (Abbot)
on Nov 22, 2011 at 09:45 UTC ( #939407=note: print w/replies, xml ) Need Help??


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

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://939407]
help
Chatterbox?
[ambrus]: Discipulus: sure, it's just that, look, some people (including me) have such unreadable and slow handwriting that writing an article or slides by hand would be a very bad idea.
[choroba]: it might bery useful for other verbs, too
[ambrus]: (and I have a need for at least decent formatting too)
[Discipulus]: when I was used to hand writing I reached a very good level, but chars were ~1mm

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-09-26 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?