Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Fun With Perl: Golf

by japhy (Canon)
on Dec 07, 2001 at 06:36 UTC ( [id://130140]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -p
    11..exit
    
  2. or download this
    #!/usr/bin/perl
    print+(<>)[-10..-1]
    
  3. or download this
    #!/usr/bin/perl -p
    $\=$_.$\}{
    
  4. or download this
    #!/usr/bin/perl -p0
    $_=$1while/.^(.+)^/sm
    
  5. or download this
    #!/usr/bin/perl
    printf"%010d\n",$.,<>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-16 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found