Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-07-03 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls