On Jan 29, Jorge Goncalvez said:
>$but->configure(-state=>$state);
> $Entry->configure(-state=>$state);
> $box->configure(-state=>$state);
> $box2->configure(-state=>$state);
> $box3->configure(-state=>$state);
>
>@configure=("$but","$Entry","$box","$box2","$box3");
DO NOT QUOTE VARIABLES for no good reason. This is ESPECIALLY important
when you are using references. Quoting a reference makes it return a
value that cannot be used as a reference anymore.
DO NOT QUOTE VARIABLES for no good reason.
@configure = ($but, $Entry, $box, $box2, $box3);
or even better, leave the array out of it:
for ($but, $Entry, $box, $box2, $box3) { ... }
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]