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

Re: Replaying Santa Claus Golf Apocalypse with Pugs/Perl6

by rg0now (Chaplain)
on Mar 12, 2005 at 15:35 UTC ( #438929=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my@l=(open@ARGS[0]).readline();
    my$i;$i=@l-10 if@l>10;
    say@l[$i..Inf];
    
  2. or download this
    my@l=(open@ARGS[0]).readline();
    my$i=@l>10??@l-10::0;
    say@l[$i..Inf];
    
  3. or download this
    my@l= =open@ARGS[0];
    my$i=@l>10??@l-10::0;
    say@l[$i..Inf];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://438929]
help
Chatterbox?
LanX for they know not what they do ...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-10-20 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (261 votes). Check out past polls.

    Notices?