Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Problem in Archive::Zip

by virtualsue (Vicar)
on Nov 04, 2005 at 05:37 UTC ( #505624=note: print w/ replies, xml ) Need Help??

in reply to Problem in Archive::Zip

BUU's right - don't do that. Do you mind saying what influenced you to change the default value of $\ in the first place? Have you been doing it in order to save a bit of typing when sending data to STDOUT? In other words, do you have a coding style similar to:

sub display { local $\ = "\n"; print "This is the first line. Look ma, no newline"; print "This is the second line."; }
In a brief Chatterbox discussion on this point, Zaxo made the comment that Archive::Zip could avoid this type of problem by localizing $\ itself.

Comment on Re: Problem in Archive::Zip
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2015-10-13 07:30 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls