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

strict.pm

by tye (Cardinal)
on Sep 13, 2000 at 22:46 UTC ( #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
Node Status?
node history
Node Type: modulereview [id://32314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-09-24 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (246 votes), past polls