Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-11-24 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (346 votes). Check out past polls.

    Notices?