Re: Surpressing concatenation with null warnings

2003-11-07 Thread Rob Dixon
R. Joseph Newton wrote: > > Richard Heintze wrote: > > > > I think what you want is this: > > > > > > no warnings qw(uninitialized); > > > > > > > Would I put this immediately after "use warnings;"? > > I would recommend against it, unless you are intending to > keep all your programs very small.

Re: Surpressing concatenation with null warnings

2003-11-05 Thread R. Joseph Newton
Richard Heintze wrote: > > I think what you want is this: > > > > no warnings qw(uninitialized); > > > > Would I put this immediately after "use warnings;"? I would recommend against it, unless you are intending to keep all your programs very small. Any change to basic browser/interpreter functi

Re: Surpressing concatenation with null warnings

2003-11-05 Thread Jenda Krynicky
From: Darin McBride <[EMAIL PROTECTED]> > Richard Heintze wrote: > > I have just discovered the the following code causes > > trouble when I have "use strict" and "use warn"; > > > > use strict; > > use warnings; > > > > my $k = $q->param('xyz'); > > print qq[ \$k = $k ]; > > > > The problem is

Re: Surpressing concatenation with null warnings

2003-11-05 Thread Darin McBride
Richard Heintze wrote: > I have just discovered the the following code causes > trouble when I have "use strict" and "use warn"; > > use strict; > use warnings; > > my $k = $q->param('xyz'); > print qq[ \$k = $k ]; > > The problem is that if there is no GET/POST param > called xyz, we are conca

RE: Surpressing concatenation with null warnings

2003-11-04 Thread Tim Johnson
Yes. If you do it right after "use warnings;", then it will be in effect for the rest of your script. -Original Message- From: Richard Heintze [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 4:15 PM To: [EMAIL PROTECTED] Subject: RE: Surpressing concatenation

RE: Surpressing concatenation with null warnings

2003-11-04 Thread Richard Heintze
> I think what you want is this: > > no warnings qw(uninitialized); > Would I put this immediately after "use warnings;"? __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- To unsubscribe, e-mail: [EM

RE: Surpressing concatenation with null warnings

2003-11-04 Thread Tim Johnson
: [EMAIL PROTECTED] Subject: Surpressing concatenation with null warnings I have just discovered the the following code causes trouble when I have "use strict" and "use warn"; use strict; use warnings; my $k = $q->param('xyz'); print qq[ \$k = $k ]; The problem is t

Surpressing concatenation with null warnings

2003-11-04 Thread Richard Heintze
I have just discovered the the following code causes trouble when I have "use strict" and "use warn"; use strict; use warnings; my $k = $q->param('xyz'); print qq[ \$k = $k ]; The problem is that if there is no GET/POST param called xyz, we are concatenating with a null value and, when using CGI