> OK, so the line 16 that it complains about, that seems to be this 
> do { data1 };
> 
> Does that mean anything to you?

That's a bareword. You can't use a bareword with strict.

It's hard to tell just from the XSP output what you were tyring to do,
but I think you either wanted to
   a) use the string constant "data1", or
   b) use some variable named $data1 (or @data1 or %data1)

if a), you would do something like

   <test>data1</test>  <-- i.e., no perl code... just use plain XML if
you want to a constant, plain XML.

if b), you need to do something like

   <xsp:logic>
      my $data1 = "some value";
      <test><xsp:expr>$data1</xsp:expr></test>
   </xsp:logic>

--d

-- 
$_=q-(daisuke)-.$/;s,([a-z]+),$1.q; [[EMAIL PROTECTED];,e;print;


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to