Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

How the Super Spaceship works

by japhy (Canon)
on Dec 08, 2000 at 02:40 UTC ( #45633=note: print w/ replies, xml ) Need Help??


in reply to Super Spaceship Operator
in thread lp.hpajnilap.palinjaph.pl

For those that do not grok this delightful Perl obfuscation, I unveil the secret of <<=>>:

print <<=>> 1; text print "done\n"; # is actually print << "BLANK_LINE" => > 1; text BLANK_LINE print "done\n"; # is actually print << "BLANK_LINE", > 1; text BLANK_LINE print "done\n";
And the comma is superfluous.

japhy -- Perl and Regex Hacker


Comment on How the Super Spaceship works
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (18)
As of 2015-07-01 20:10 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 (19 votes), past polls