develooper Front page | perl.sdl.devel | Postings from January 2011

Re: SDL Manual Correction

Thread Previous | Thread Next
From:
Kartik Thakore
Date:
January 3, 2011 05:52
Subject:
Re: SDL Manual Correction
Message ID:
1294062746.4315.2.camel@kthakore-laptop
Done at 

http://bit.ly/i0j3mc

Thanks.


On Sun, 2011-01-02 at 21:42 -0500, Sheppy R wrote:
> I remembered encountering an issue the first go through the manual, but
> wasn't really aware of the community at that time.  I'm going back through
> the most recent version and came across the following 'typo'.  I don't know
> why, but I"m inclined to blame garu.
> 
> pg. 33 -> Remove the 'my' in line 51.  $brush_color is a global variable.
> 
> 51 my $brush_color = $key_name if $key_name =~ /^nd$/;
> 
> The program will run, but the user will not be able to change the brush
> color as long as 'my' is in there.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About