Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Fibonacci numbers using regexes (threes are wild)

by pmonk4ever (Friar)
on Dec 01, 2009 at 00:35 UTC ( #810291=note: print w/ replies, xml ) Need Help??


in reply to Fibonacci numbers using regexes (threes are wild)

blokhead,

I tried to execute this on ActiveState Win32 v5.10.0 and received the following error message:

Can't find string terminator "'" anywhere before EOF at -e line 1. The filename, directory name, or volume label syntax is incorrect.

I copied the code exactly as written, there are 2 string terminators in the line of code.

Any suggestions?

Thanks

pmonk4ever

"No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."


Comment on Re: Fibonacci numbers using regexes (threes are wild)
Download Code
Re^2: Fibonacci numbers using regexes (threes are wild)
by blokhead (Monsignor) on Dec 01, 2009 at 04:10 UTC
    I haven't used windows in about 10 years, but a voice in my head says that windows may not support single quotes for command-line arguments. Try using double quotes instead? In unix systems, double quotes will cause $variables to be interpolated so I used single quotes.

    blokhead

      Thanks, it works now, I keep forgetting about those pesky double quotes.

      30 was pretty fast for me, but 48 is taking a bit of time...

      pmonk4ever

      "No trees were harmed in the creation of this node. However, a rather large number of electrons were somewhat inconvenienced."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-02 23:34 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 (47 votes), past polls