Re: [PATCH O.pm] avoid to clutter output with -l
by other posts by this author
Jul 21 2001 11:53PM messages near this date
[PATCH O.pm] avoid to clutter output with -l
|
Re: [PATCH O.pm] avoid to clutter output with -l
On Sun, Jul 22, 2001 at 12:29:25AM +0200, Rafael Garcia-Suarez wrote:
> When a B::* module is used on a file for which a -l is specified
> on the shebang line, the output gets cluttered (if the module author
> hasn't precautionously undefined $\). This patch fixes this :
>
> --- ext/B/O.pm.orig Mon Jul 9 16:09:51 2001
> +++ ext/B/O.pm Sun Jul 22 00:11:55 2001
> @@ -39,6 +39,7 @@
> die $compilesub;
> }
>
> + undef $\;
Shouldn't that be C<local $\ = undef> ? You probably also want to nail
$, and $" while you're at it.
--
Michael G Schwern <schwern@[...].com> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <perl-qa@[...].org> Kwalitee Is Job One
Thread:
Rafael Garcia-Suarez
Rafael Garcia-Suarez
Rafael Garcia-Suarez
|