[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Perl Problems - Solved!



PM> You appear to have mostly typos.  

I see them now. :-(


PM> What tutorial are you working from?

"Elements of Programming with Perl"  by Andrew L. Johnson, 
Manning Publications Co. 
www.manning.com/books/johnson  


 if ($response eq 'q' or $response -= m/^\d+$/) {

PM> Not sure what's going on here in the match ("m//" part)...

According to the book, acceptable response from the user is either
"q" to quit or an integer value.  (Page 43 of text). 

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.