Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Fibonacci Regex

by hacker_j99 (Beadle)
on Jul 25, 2001 at 05:21 UTC ( [id://99536]=note: print w/replies, xml ) Need Help??


in reply to Fibonacci Regex

i dont know if its just me but the second code is not displaying correctly but both are correct in using 5.6 or higher, although I learned that through hard knocks.

Hacker_j99

Replies are listed 'Best First'.
(MeowChow) Re: Fibonacci Regex
by MeowChow (Vicar) on Jul 25, 2001 at 05:26 UTC
    You have to supply a numeric command-line argument. If it's a fibonacci number, it will print "Fibonacci". Otherwise, it prints nothing.
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found