do you want me to seed the entire program..... it is over 700 lines?
it on lines 246 for eaxmple. And anywhere I assign a variable to a
q->param construct such as $which_import and $which_radio_button.
thank you so much!
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
Jeff 'japhy'
Pinyan
<[EMAIL PROTECTED] To
rg> [EMAIL PROTECTED]
cc
09/12/2005 02:47 "Charles K. Clarkson"
PM <[EMAIL PROTECTED]>,
[email protected]
Subject
RE: Use of uninitialized value
On Sep 12, [EMAIL PROTECTED] said:
> I have tried this and I am still getting a similiar error.
> Here is my perl-cgi code:
WHICH line is the uninitialized value warning coming from?
> my $which_import = $q->param('action') || '';
>
> foreach my $scalar (@imports)
> {
> if ($which_import eq 'Import H9940')
> {
> while (<SAM>)
> {
> if (/(?ig)$scalar/)
You can't put 'g' inside the (?...) construct of a regex. That should be
written as
/(?i)$scalar/g
or just
/$scalar/ig
But I'm not even sure the /g is necessary...
--
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
http://www.perlmonks.org/ % have long ago been overpaid?
http://princeton.pm.org/ % -- Meister Eckhart
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>