Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: One more quine

by choroba (Cardinal)
on Apr 20, 2010 at 14:01 UTC ( [id://835777]=note: print w/replies, xml ) Need Help??


in reply to Re: One more quine
in thread How I Learned About Quines

perl -e 's sslcsene s sa zs sgxlt print lc for uc sazsslcseneazsazsaazzsazsgxltazprintazlcazforazucaz'

gives:

s sslcsene s sa zs sgxlt print lc for uc s sslcsene s sa zs sgxlt print lc for uc

Which is not the same :(

Replies are listed 'Best First'.
Re^3: One more quine
by Hue-Bond (Priest) on Apr 20, 2010 at 14:06 UTC
    Which is not the same :(

    Works for me on 5.10. Nice job mtve!

    --
     David Serrano
     (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).

      5.8.8 here.
Re^3: One more quine
by mtve (Deacon) on Apr 20, 2010 at 15:57 UTC

    indeed it wont work on 5.8, it's a bug in perl. compare

    print lc, uc for uc abc

    with

    print lc, uc for uc 'abc'

    for now i don't know how to fix it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found