Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Black Perl updated for Perl 5

by hv (Parson)
on Feb 21, 2003 at 16:12 UTC ( #237479=note: print w/ replies, xml ) Need Help??


in reply to Black Perl updated for Perl 5

Very cool.

The scan version no longer dumps core in 5.8.0, instead giving:

Can't modify constant item in read at poem line 2, near "select)"
but I'm not sure how to avoid it without the '$'.

As written, though you can now lose the parens on read(), and combine:

... read spell, $scan, select and tell us;

Hugo


Comment on Re: Black Perl updated for Perl 5
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-30 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls