Front page | perl.perl5.porters |
Postings from October 2013
Re: deprecate say!
Thread Previous
|
Thread Next
From:
Ed Avis
Date:
October 7, 2013 07:07
Subject:
Re: deprecate say!
Message ID:
loom.20131007T085602-800@post.gmane.org
Father Chrysostomos <sprout <at> cpan.org> writes:
>Event::Logger needs to localise $\ before printing, as has always been
>the case whenever $\ is set by the main script. Nothing new here.
Hang on - are you saying that *every* use of print in library code needs to
be protected by localizing $\, or else document that the library's behaviour
is affected by $\'s global value?
I don't think that has been perl culture until now. All the code I have seen
just prints away merrily, and if somebody else breaks it by setting $\ that is
considered to be somebody else's fault.
--
Ed Avis <eda@waniasset.com>
Thread Previous
|
Thread Next