Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl Humor

by gmpassos (Priest)
on Sep 21, 2002 at 01:23 UTC ( [id://199684]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      sub atoi {
        my $t;
    ...
        }
      }
      $number = atoi("123");
    
  2. or download this
      $string = sprintf("%f", 123.45);
    
  3. or download this
       if ($string == "$string") { 
       # It is a number
       }
    
  4. or download this
      if ($var =~ /(?=.)M{0,3}(C[MD]|D?C{0,3})(X[CL]|L?X{0,3})(I[XV]|V?I{0
    +,3})/) {
        print "$var contains a number.\b";
      }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found