develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH O.pm] avoid to clutter output with -l

Thread Next
From:
Rafael Garcia-Suarez
Date:
July 21, 2001 15:28
Subject:
[PATCH O.pm] avoid to clutter output with -l
Message ID:
20010722002925.A752@rafael
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 $\;
            &$compilesub();
 
            close STDERR if $veryquiet;

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About