Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 musing on the Monastery: (3)
As of 2014-09-18 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (103 votes), past polls