Matt Sergeant wrote: > > On Thu, 5 Oct 2000, John Reid wrote: > > > Hi guys > > > > Has anyone any experience of passing a 0 as a parameter value through > > Apache::Request. I am passing a QUERY_STRING like > > ?param1=value1¶m2=0¶m3=value3. It appears that the 0 is being > > interpretted as an empty string. Is this a bug/expected behaviour or am > > I looking in completely the wrong area for the source of the problem? > > No its a bug. It also occurs if the QUERY_STRING is just 0 on its own. > > -- > <Matt/> > > ** Director and CTO ** > ** AxKit.com Ltd ** ** XML Application Serving ** > ** http://axkit.org ** ** XSLT, XPathScript, XSP ** > ** Personal Web Site: http://sergeant.org/ ** In my limited experience, it is Perl in general that treats the value 0, in a query string as the empty string. In all of the scripts I have written, if 0 is possible as a param value, I have to explicity check for 0. In essence I agree with Matt, but wanted to pop that little piece of information in there in case it turns out to be pertinent... --Dana
- Re: HTML Template Comparison Sheet ETA Mike Miller
- Re: HTML Template Comparison Sheet ETA G.W. Haywood
- Re: HTML Template Comparison Sheet ETA Drew Taylor
- Re: HTML Template Comparison Sheet ETA G.W. Haywood
- HTML Template Systems Billy Donahue
- Re: HTML Template Systems G.W. Haywood
- Re: HTML Template Comparison Sheet ETA Nelson Correa de Toledo Ferraz
- Re: HTML Template Comparison Sheet ETA Sapphire Software
- Apache::Request and parameters = 0 John Reid
- Re: Apache::Request and parameters = 0 Matt Sergeant
- Re: Apache::Request and parameters = 0 Dana C. Chandler III
- Re: Apache::Request and parameters = 0 Matt Sergeant
- Re: Apache::Request and parameters = 0 John Reid
- Re: Apache::Request and parameters = 0 Dana C. Chandler III
- Re: Apache::Request and parameters = 0 Matt Sergeant
- Re: HTML Template Comparison Sheet ETA Andrew Ford
- Re: HTML Template Comparison Sheet ETA Paul J. Lucas
- Re: HTML Template Comparison Sheet ETA Perrin Harkins
- Re: HTML Template Comparison Sheet ETA Paul J. Lucas
- Re: HTML Template Comparison Sheet ETA Billy Donahue
- Re: HTML Template Comparison Sheet ETA Paul J. Lucas