Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Fibonacci Regex

by hacker_j99 (Beadle)
on Jul 25, 2001 at 05:21 UTC ( #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
Node Status?
node history
Node Type: note [id://99536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2021-04-11 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?