Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Pixel art

by Grimy (Pilgrim)
on May 19, 2012 at 21:18 UTC ( #971444=note: print w/replies, xml ) Need Help??

in reply to Re: Pixel art
in thread Pixel art

Your version of perl seems to believe that the s/// ends right before the qw`, which is wrong. The qw` is supposed to be inside the s///, that's why there's no need for a closing backtick. I must admit I have no idea why it doesn't work for you. I tested both the download link and the copy-paste with Strawberry Perl 5.14.2. Here is a (hopefully) more compatible version, thanks to Anonymous :
$_='ope n P+I0;priPnt (HP PIS"\Ubm",pac kH"xP8Il2sK4Ia*(\u hH24PI)K*",74,1I2,2 4H,PHPIL32,1K,4,unIpa cHk(PHPLu=>uc"Kp_/s[I^ -HjPH=PL0d7l3+iK?,v_r kHoPH3[ParLue=anKzg%7= uH)<=y;/_"P),LsortK{ope nH*S,">BHB BL$0.bmPp"} gHrep{s/BN\ BLS/P\t/ ;Hs/.\Bn N BP/\ tH/,unBt N BHil !sH/(.)B[^N BH\h \JPHUb- BqO H]/$ 1JP$H1/B}QO H<0> )JAPH;#UNQ HeaP| &J~~PH';s H[A-R| &~J]|PHq###%jAPHeg ;my$JAPH=eval.'P/ \MP@%J+P__H::$P/ |MPTUJP P___ |MAPZX| \MPWY| |MAP| \MP| |Mw| |Mw/ |M/ |/ '
If you're curious enough, you might try it. You may also try replacing eval with print, this should print some human-readable code to STDOUT.

Replies are listed 'Best First'.
Re^3: Pixel art
by Anonymous Monk on May 19, 2012 at 22:47 UTC
      Oh yeah. That.
      /r is so immensely useful that I didn't remember it wasn't here in the first place.
      Well, problem soved, thanks a lot! I updated my previous node.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971444]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-06-23 22:47 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.