Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: One more quine

by choroba (Bishop)
on Apr 20, 2010 at 14:01 UTC ( #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
Node Status?
node history
Node Type: note [id://835777]
help
Chatterbox?
[Discipulus]: April: the Perl Tk official month..

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2018-04-24 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?