Subject: RE: variable ending with ^@
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 20 Feb 2009 16:10:29 -0000
|
I don't know the answer, and I suspect no-one else does either. You haven't
given enough information. It's not even clear what programming language each
of these code fragments represents. Certainly, the "^@" is coming from a
place that you haven't told us about.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: himanshu padmanabhi [mailto:himanshu.padmanabhi@xxxxxxxxx]
> Sent: 19 February 2009 13:26
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: variable ending with ^@
>
> Code flow
>
> "abc.cgi" has $in{'idx'}.
>
> abc.cgi->abc.cgi on form .submit->abc.xsl on form submit->xyz.cgi
> redirect->abc.cgi
>
> "abc.xsl" passes value to next form like "<input value="{$idx}"
> type="hidden" name="idx"></input>" as suggested here.
>
> I am getting value of $in{'idx'} in final abc.cgi in above
> cycle.But getting its value as "idx=14^@".
>
> what is this "^@".I tried with chomp,chop.It still remains.
>
> -----------------------------
> Regards,
> Himanshu Padmanabhi
|