Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Re: Re: HTML and CGI codingby thinker (Parson) |
on Dec 09, 2002 at 15:24 UTC ( [id://218542]=note: print w/replies, xml ) | Need Help?? |
Hi hbradshaw, as I pointed out in my earlier post, you should choose either
ie, attributes have leading hyphens, are quoted if contain inline hyphens, and are not surrounded by {} brackets, or
ie, attributes have no leading hyphen, but are contained within {} brackets, making it an anonymous hash. Strings with inline hyphens should still be quoted The easiest way to fix your code above is to remove the {} brackets from within your Tr(). hope this helps thinker
In Section
Seekers of Perl Wisdom
|
|