[kamloops-pm] Hello

the only gay eskimo smoky at flogged.net
Thu Oct 9 14:53:20 CDT 2003


for some reason, i thought strict would complain about it, or at least i
remember it did. i was thinking that if you had a sub called 'ID' it'd get
confused, but i just tested, and it's not the case


> 
> I.E. $row->{ID} is acceptable although I prefer and use $row->{'ID'} as a form
> of defensive programming.
> 
> Bare words are also acceptable when declaring hashes using the => notation:
> 
> 	my %hash = ( foo => 'bar' ); # ok under strict
> 	my %hash = ( foo, 'bar' );   # not ok under strict
> 	my %hash = ( 'foo', 'bar' ); # ok under strict
> 
> but once again TMTOWTDI.
> 
> Brad
> 



More information about the kamloops-pm mailing list