Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Bareword found error on MacOS

by Fletch (Chancellor)
on Aug 30, 2012 at 14:11 UTC ( #990760=note: print w/ replies, xml ) Need Help??


in reply to Bareword found error on MacOS

OS shouldn't matter; more germane would be the versions of Perl involved on both sides (i.e. what does perl -v print on the wintendo box and on the Mac box).

Update: Not to mention the spurious r modifier on the regex probably doesn't help.

Update further: OK, so apparently that's a new modifier looks like in 5.14, which probably explains your problems. I get a gripe from my 5.12.4 too so probably you've got 5.14 or newer on your wintendo box and something before that on your mac. Teach me to go play over in clojure land I guess.

The cake is a lie.
The cake is a lie.
The cake is a lie.


Comment on Re: Bareword found error on MacOS
Select or Download Code
Re^2: Bareword found error on MacOS
by zuma53 (Beadle) on Aug 30, 2012 at 14:18 UTC

    Win: 5.14


    I will have to get back to you on the Mac version, as my laptop is at home.

Re^2: Bareword found error on MacOS
by Anonymous Monk on Aug 30, 2012 at 14:19 UTC

    Update: Not to mention the spurious r modifier on the regex probably doesn't help.

    Welcome to perl 5.14

Re^2: Bareword found error on MacOS
by zuma53 (Beadle) on Aug 31, 2012 at 05:40 UTC

    Yessss!

    You identified the problem right off. My Mac was running 5.12. I got another copy from ActiveState and it runs with no issues.

    Thanks to everyone for your help!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-28 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (178 votes), past polls