Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (11)
As of 2015-07-02 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls