Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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.

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 surveying the Monastery: (3)
As of 2016-10-28 04:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.