in reply to Re: Problems with creating a form
in thread Problems with creating a form
Actually tr is already used, it's the built-in tr///, hence the CGI methid/function is Tr, something that trips everyone (and you!) at least once.
Update: Aaaarrrghhh! merlyn is right (see below) I always use the function version, and I have been bitten (several times, I'm a slow learner ;--( by it, so I got a little too paranoid. All my apologies to masem.
RE-Update: after further testing, my first version was right, it _is_ Tr, whether using the function or the method. merlyn is wrong there.
Re-Re-Update: as the rep of this node go down and the one of merlyn's go up I guess I have to prove my point, so try this and then change Tr to tr ;--)
perl -e 'use CGI; my $q= new CGI; print $q->Tr, "\n";'Other upper-cased function/methods are: Select, Link, Delete, Accept and Sub.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Problems with creating a form
by merlyn (Sage) on Mar 12, 2001 at 20:10 UTC |