in reply to Re^2: Pulling JAPH out of the iterated SHA512 of the code...
in thread Pulling JAPH out of the iterated SHA512 of the code...

curl 'http://perlmonks.org/?abspart=1;displaytype=displaycode;node_id=908478;part=1' -o a.pl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   531    0   531    0     0   1618      0 --:--:-- --:--:-- --:--:--     0

perl a.pl
▒-+▒v▒▒▒▒▒eվ▒▒* ▒@*▒}▒

(updated, cleaned up command line.) You're right, copying it exactly did result in different output. :P

  • Comment on Re^3: Pulling JAPH out of the iterated SHA512 of the code...

Replies are listed 'Best First'.
Re^4: Pulling JAPH out of the iterated SHA512 of the code...
by Grimy (Pilgrim) on Jun 07, 2011 at 18:11 UTC
    I got it. I suppose you got this result with Windows. Windows newlines are CR+LF, while UNIX newlines are just LF. I'll try to write a platform independent version by s/ing the CR away.
      uname -a Linux ... Tue Oct 7 10:12:35 PDT 2008 i686 i686 i386 GNU/Linux # plus... perl -v This is perl, v5.8.8 built for i386-linux-thread-multi
Re^4: Pulling JAPH out of the iterated SHA512 of the code...
by choroba (Cardinal) on Jun 07, 2011 at 21:34 UTC
    Works for me, using curl exactly as you did :-o