Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: print "true" unless $MrCromeDome ne "dumbass"

by larryk (Friar)
on Aug 16, 2001 at 23:52 UTC ( [id://105492]=note: print w/replies, xml ) Need Help??


in reply to print "true" unless $MrCromeDome ne "dumbass"
in thread Perl, Apache, Dr. Watson, and my scripts

typo - yes
fatal - shouldn't have been (IMHO)

CGI.pm is basically doing
#!/usr/bin/perl -w use strict; $_ = 'test1=1&&test3=3'; for ( split '&' ) { my($param,$value) = split '='; print "param='$param'\n"; print "value='$value'\n"; # and using $param even though it is undefined the 2nd time }
You said that both versions of apache are the same but it looks like the two versions of CGI.pm are different - you can check ~ line 22 of CGI.pm for the version number.

if they are the same then I'm stumped - otherwise you should probably upgrade to the newer one at least as it looks like it is handling malformed URLs properly (this type anyway).

   larryk                                          
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://105492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found