Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

strict.pm

by tye (Sage)
on Sep 13, 2000 at 22:46 UTC ( [id://32314]=modulereview: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use strict;
    
  2. or download this
        print " ", Hello, ", ", World::ALL, "!\n";
        # prints " Hello, World::ALL!"
    
  3. or download this
        print " ", Hello(), ", ", $World::ALL, "!\n";
    
  4. or download this
        use Fcntl qw( LOCK_EX LOCK_NB );
        flock FILE, LOCK_EX|LOCK_NB or die "File already locked"
    
  5. or download this
        sub Log {
            warn localtime(), ": ", @_, "\n";
        }
        Log "Ready.";
    
  6. or download this
        sub Log;
        Log "Ready.";
    ...
            warn localtime(), ": ", @_, "\n";
        }
    
  7. or download this
        $o= My::Package->new();
    
  8. or download this
        $o= My::Package()->new();
    
  9. or download this
        $o= My::Package::->new();
    
  10. or download this
        use vars qw( $this $that );
        my $varname= @ARGV ? "this" : "that";
        ${$varname}= "In use"; # This line uses a symbolic reference.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-20 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found