Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Rabbits

by Limbic~Region (Chancellor)
on Nov 19, 2004 at 14:03 UTC ( [id://409118]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Rabbits

CloneArmyCommander,
It doesn't work for me.
$ perl rabbit.pl Use of uninitialized value in numeric lt (<) at ./rabbit.pl line 7. {1,1,0,. . .} $ perl -v This is perl, v5.8.5 built for cygwin-thread-multi-64int

Cheers - L~R

Update: I guess it helps if you supply it a command line argument - Sorry. To avoid this I would adjust the ASCII with the following change:
fib($ARGV[0]) to fib($ARGV[0]||42)

Replies are listed 'Best First'.
Re^2: Rabbits
by CloneArmyCommander (Friar) on Nov 19, 2004 at 14:06 UTC
    Sorry for that, I probably should have made that clear :). I was in a hurry when I posted it, so I am still in the process of cleaning up grammar and spelling (the down side to Perl value of being impatient ;). I hope my code has some sort of value :).
Re^2: Rabbits
by CloneArmyCommander (Friar) on Nov 19, 2004 at 14:08 UTC
    Sounds like a nice even number :), I usually tested it with 10, but I was not sure how much people wanted to see of it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://409118]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.