Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-12-27 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls