Help for this page

Select Code to Download


  1. or download this
    .say for =$fh;
    
  2. or download this
    print while <$fh>;  # assuming $\="\n"
    
  3. or download this
    pugs> sub postfix:<!> (Int $n) { [*] 1..$n }
    undef
    ...
    24
    120
    undef
    
  4. or download this
    From: Abigail <abigail@abigail.be>
    Subject: Re: I find the perl syntax easier than python
    ...
    $chop -> () -> () -> () -> () -> () -> () -> () -> () -> () -> () -> (
    +) -> ()
    -> () -> () -> () -> () -> () -> () -> () -> () -> () -> () -> () -> (
    +) -> ()
    
  5. or download this
    From: "David Formosa (aka ? the Platypus)" <dformosa@usyd.edu.au>
    Subject: Re: I find the perl syntax easier than python
    ...
    sub addprint (*@num) { say [+] @num };
    
  6. or download this
    From: Abigail <abigail@abigail.be>
    Subject: Re: I find the perl syntax easier than python
    ...
    $\ = $"; $; = $$; END {$: and print $:} $SIG {TERM} = sub {$ := $_}; k
    +ill 15 =>
    fork and ($; == getppid and exit or wait) foreach qw /Just another Per
    +l Hacker/
    
  7. or download this
    From: "David Formosa (aka ? the Platypus)" <dformosa@usyd.edu.au>
    Subject: Re: I find the perl syntax easier than python
    ...
    
    But mine is more elegant.
    
  8. or download this
    From: Michele Dondi <bik.mido@tiscalinet.it>
    Subject: Re: I find the perl syntax easier than python
    ...
    .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
    256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
    
  9. or download this
    From: Michele Dondi <bik.mido@tiscalinet.it>
    Subject: Re: I find the perl syntax easier than python
    ...
    (($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
    .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
    256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,