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

!Overriding Builtin print

by Zaxo (Archbishop)
on Oct 20, 2003 at 04:36 UTC ( [id://300471]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Errno ':POSIX';
    
    {
    ...
    
        print 'test', $/ or die $!;
    }
    
  2. or download this
    *CORE::GLOBAL::glob = sub {
        my $pat = shift;
        my @got;
    ...
    package Whatever;
    
    print <[a-z_]+\.pm>;  #show all pragmas in the current directory
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://300471]
Approved by Kanji
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found