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

Re^2: Camel JAPH

by JSchmitz (Canon)
on Mar 27, 2007 at 14:53 UTC ( #606764=note: print w/replies, xml ) Need Help??

in reply to Re: Camel JAPH
in thread Camel JAPH

Solaris 8 same error - cool though

# perl -e'map\ > {map{print chr }/\d\ > {3}/gx }join q{},\ > split/\s/sx,q(0741171151\ > 16032097110111116104101\ > 114 032 080 10 1\ > 114 108 032 104 \ > 09 70 99 10\ > 7 1 0 1\ > 1 1 4 0\ > 4 4 ) ;' syntax error at -e line 3, near "}join" (Might be a runaway multi-line // string starting on line 2) Execution of -e aborted due to compilation errors. # uname -a SunOS gort 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-480R

Replies are listed 'Best First'.
Re^3: Camel JAPH
by TGI (Parson) on Apr 19, 2007 at 23:51 UTC
    I get the same error running under mingw/msys. But if I take away the command line stuff:
    map {map{print chr }/\d {3}/gx }join q{}, split/\s/sx,q(0741171151 16032097110111116104101 114 032 080 10 1 114 108 032 104 09 70 99 10 7 1 0 1 1 1 4 0 4 4 ) ;
    It works flawlessly. And is still nicely camelicious.

    TGI says moo

Re^3: Camel JAPH
by agianni (Hermit) on Aug 19, 2007 at 01:45 UTC
    Interesting, it works nicely for me under Solaris 9 and MacOS 10.4. If I copy your output with the GT symbols at the start of each line, I get the same error you do. But if I simply copy and paste it to the command line it works fine. I'll have to muck with it and do some more testing.
    perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606764]
[Lotus1]: cb is nsfw this morning
[Lotus1]: I wonder if ascii art would work in the cb....
[jedikaiti]: lolol
Tux looks up his status to find being an Abbot
[choroba]: pm-cb-g now shows the number of unread messages, commit on its way to github
[Tux]: choroba any plans for highlight patterns?
[choroba]: Tux feel free to submit a pull request :-)
[choroba]: I like the idea, but currently I only have time for small changes
[choroba]: but it should be a bit better in two weeks
[Tux]: time also lacks on this side to do more than tiny changes

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-09-20 16:04 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (237 votes). Check out past polls.