On Fri, Feb 16, 2001 at 10:05:22AM -0800, Wim Kerkhoff wrote:
> I forgot about the optRawInput trick. I added
>
> [- $escmode=0; $optRawInput = 1 -]
>
> to uptime.html and base.html with no luck. Back ticking the < only give
> me a "[19646]ERR: 24: Line 7: Error in Perl code: (in cleanup)
> Unterminated <> operator...." error :P
that's strange... I have several code fragments like the following
that work just as intended (they didn't wihout the "\<", however):
[- open BJOBS, "/usr/local/bin/sudo -u $username /usr/local/lsf/bin/bjobs |"; -]
[$ while ( $line = \<BJOBS> ) $]
...
[$ endwhile $]
Maybe it's a version-specific issue... I'm not running the most recent
version (1.3b2) and I remember dimly that there was some discussion on
the list about escaping and security aspects -- followed by a rewrite
of some basic escaping mechanism. Don't know whether that explain's the
difference in behaviour... Gerald probably knows better ;)
Erdmut
--
Erdmut Pfeifer
science+computing gmbh
-- Bugs come in through open windows. Keep Windows shut! --
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]