Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Black Perl updated for Perl 5

by kiz (Monk)
on Sep 24, 2012 at 10:16 UTC ( #995342=note: print w/replies, xml ) Need Help??


in reply to Black Perl updated for Perl 5

Still compiles inder1 5.14

.... but runs best as perl -X black_perl :D

(1) inder a cross between in and under, as it "it compiles in/under perl"



-- Ian Stuart
A man depriving some poor village, somewhere, of a first-class idiot.

Replies are listed 'Best First'.
Re^2: Black Perl updated for Perl 5
by Anonymous Monk on Sep 12, 2013 at 11:13 UTC

    Not without the -X flag it doesn't:

    Hash %window missing the % in argument 1 of each() at black.pl line 1. Hash %watches missing the % in argument 1 of each() at black.pl line 3 +. Array @them missing the @ in argument 1 of pop() at black.pl line 5. Array @moralities missing the @ in argument 1 of shift() at black.pl l +ine 8. Hash %aside missing the % in argument 1 of values() at black.pl line 9 +. Hash %one missing the % in argument 1 of each() at black.pl line 9. Hash %sacrifice missing the % in argument 1 of each() at black.pl line + 13. Use of "do" to call subroutines is deprecated at black.pl line 15. Use of "do" to call subroutines is deprecated at black.pl line 16.

    With -X it does compile fine though:

    # perl -X -c black.pl black.pl syntax OK
      I've managed to get Black Perl to run without warnings under Perl 5.20; but 5.22 seems to kill it. Here's my 5.20 version:
      no warnings; BEFOREHAND: close door, each window & exit; wait until time. open spellbook, study, select it, confess, tell, deny; write it, print the hex while each watches, reverse "its length", write again; kill spiders, pop them, chop, split, kill them. unlink arms, shift, wait & listen (listening, wait), sort the flock (then, warn "the goats". kill "the sheep"); kill them, dump qualms, shift moralities, values aside, each one; die sheep, die, reverse system you accept (reject, respect); next step, kill next sacrifice, each sacrifice, wait, redo ritual until "all the spirits are pleased"; do it, "as they say". *everyone***must***participate***in***forbidden**s*e*x*. return last victim; package body; exit crypt (time, times & "half a time") & close it, select (quickly) & warn next victim; AFTERWARDS: tell nobody. wait, wait until time; wait until next year, next decade; sleep, sleep, die yourself and rest at last

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2016-08-30 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (420 votes). Check out past polls.