Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

by tye (Sage)
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-03-04 19:24 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (107 votes). Check out past polls.