Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

fenLisesi's scratchpad

by fenLisesi (Priest)
on Oct 01, 2006 at 23:12 UTC ( [id://575820]=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > $ perl -wle 'print 2**99'
    > 6.33825300114115e+29
    ...
    >
    > [1] Worth noting that Ruby gets this done in about 2.5 seconds while
    + perl with
    > bigint takes 30.  They're probably using gmp.
    
  2. or download this
       #!/usr/bin/perl
    
    ...
       define x(){
           return (9^9^5)
       }
    
  3. or download this
    use strict;
    use warnings;
    ...
        return 1 if $n == 1;
        $n + f_fenLisesi( $n - 1 );
    }
    
  4. or download this
    On 7/1/07, Mark Jason Dominus <mjd@plover.com> wrote:
    >
    ...
    
    --
    perl -Mre=debug -e "/just|another|perl|hacker/"
    
  5. or download this
           # perl -wle 'print 2 ** 128'
           3.40282366920938e+38
    ...
           2.53847080898319e-65
           # perl -Mbigrat -wle 'print 3/7 ** 77'
           3/1181813865805958799768684143120019644340385488367699234582870
    +39207
    
  6. or download this
    ...
    
    ...
    +    }
        return wantarray ? @ret : $ret[0];
     }
    
  7. or download this
        Do you know me, my lord?
        Excellent well; you are a Perl Monger.
    
  8. or download this
        Imperious Bill Gates, dead and turn'd to clay,
        Might stop a hole to keep the wind away:
        O, that that earth, which kept the world in awe,
        Should patch a Wall to expel the Windows' flaw!
    
  9. or download this
        $words, @words, %words.
    
  10. or download this
    my $class_name = 'Foo' . '::' . 'Bar';
    
    ...
       warn $@;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-24 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found