Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: World's most boring Perl quine

by scain (Curate)
on Oct 18, 2001 at 22:38 UTC ( [id://119762]=note: print w/replies, xml ) Need Help??


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

I know writing quines isn't a serious subject (at least not to me), but is it fair practice to count on the name of the file to make the quine work? It seems like using metadata like that should be considered a cheat.

Scott

Replies are listed 'Best First'.
(tye)Re: World's most boring Perl quine
by tye (Sage) on Oct 22, 2001 at 08:15 UTC

    No, not at all. Save the following script: print $0 to a file named 'print $0'.

    BTW, that's part of why "worst" is in the title.
            - tye (Sarcasm? What sarcasm?)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-09-18 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (24 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.