Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: TMTOWTDI Puzzle: Generating a range of numbers

by wog (Curate)
on Dec 19, 2001 at 04:38 UTC ( #132987=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    my @result;
    ...
      push @result, $val;
      $val = add($val,$one);
    } until $one.$one eq $val;
    
  2. or download this
    sub f {  die if $::f_A;
             die if $::f_B;
    ...
      push @result, $@ =~ /line ([^.]+)\./;
      $$_ = undef;
    }
    
  3. or download this
    my @result = split " ", "pasarauatawavayaxapq"^"AAAAAAAAAAAAAAAAAAAA";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-08-22 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls