Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
No such thing as a small change
 
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 romping around the Monastery: (7)
As of 2014-04-17 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls