Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: World's most boring Perl quine

by blakem (Monsignor)
on Oct 18, 2001 at 22:15 UTC ( [id://119820]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: World's most boring Perl quine
in thread World's worst Perl quine

Interesting.... Does that "translate" into:
open(FILE,$0); print <FILE>;
i.e. the one argument open is using the filename in $0 to create the filehandle 0.

-Blake

Replies are listed 'Best First'.
Re: Re: Re: Re: World's most boring Perl quine
by myocom (Deacon) on Oct 18, 2001 at 23:28 UTC

    In short, yes it does the same thing, but for interesting reasons. For a longer explanation, check japhy's Obfuscation review ('bout halfway down).

    "One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://119820]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.