Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Slashdot lamejoke generator

by NetWallah (Canon)
on Oct 03, 2003 at 00:02 UTC ( #296127=note: print w/replies, xml ) Need Help??


in reply to Slashdot lamejoke generator

Excellent ! (++).

I had to add a semicolon (;) at the end of

){push@:,join$&,map{shift@$_}@;}@:}$%[rand@%]->()
in order to get this to compile. Without that it gives:
Scalar found where operator expected at SlashDotLameJokeGen.pl line 22 +, near ") $;" (Missing semicolon on previous line?) syntax error at SlashDotLameJokeGen.pl line 22, near ") $;" Execution of SlashDotLameJokeGen.pl aborted due to compilation errors.
FYI - "This is perl, v5.8.0 built for MSWin32-x86-multi-thread"

Update: OK - The obfu was fine - I had mistakenly included jonadab's signature as part of the code - causing the error. (This was prior to his update).

Replies are listed 'Best First'.
Re: Re: Slashdot lamejoke generator
by Clachair (Acolyte) on Oct 03, 2003 at 08:57 UTC
    Brilliant! (++) Works fine on coal-fired WIN95 laptop with 5.005. Never lick a gift horse in the mouth.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://296127]
help
Chatterbox?
[ambrus]: Corion: Maybe I'm not explaining the situation clearly enough, maybe I'm just wrong and he's right and we can compute that data,
[ambrus]: but hopefully he just wants to think it through himself his way and understand why it's impossible rather than blindly accept my argument.
choroba quickly peeps in from a café
[1nickt]: Good morning Monks of the world!
[Corion]: ambrus: Yeah, hopefully it's that
[1nickt]: I am stumped, maybe someone brainy can clear my mind?
[1nickt]: This code does what I expect on the CLI: perl -wE 'sub x { 0 and 1 } say x()'
[1nickt]: (prints "0")
[Corion]: Hi 1nickt!

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-12-12 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (332 votes). Check out past polls.

    Notices?