Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 having an uproarious good time at the Monastery: (4)
As of 2014-08-01 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls