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

Re: the star still shines

by roho (Chancellor)
on Dec 08, 2019 at 12:25 UTC ( #11109837=note: print w/replies, xml ) Need Help??

in reply to the star still shines

I like the art work (very well done), but when I try to run it on Windows 10 using Perl 5.24.1 I get this error message:

Can't modify subtraction (-) in scalar assignment at line 37, +at EOF (Might be a runaway multi-line << string starting on line 2) Execution of aborted due to compilation errors.

"It's not how hard you work, it's how much you get done."

Replies are listed 'Best First'.
Re^2: the star still shines
by shmem (Chancellor) on Dec 08, 2019 at 14:23 UTC

    Remove the first and the last line and run it with

    perl -Mre=eval

    To see what it does, run

    perl -MO=Deparse -Mre=eval

    You will need a curl executable, since the script fetches a file from the Zapatista Web page with curl.
    If you don't have curl, you can just copy over lwp-download.bat to curl.bat in your strawberry perl/bin folder. Note that the retrieved page will be saved to index.htm in the current working directory. It is in spanish, but there are links on the page leading to translations into other languages.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2021-05-09 23:18 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (103 votes). Check out past polls.