On Thursday 09 January 2003 09:17, Matt Sergeant wrote:
> The $attr_clear variable doesn't exist where you expect it to. It's
> automagically generated in the XSP code that gets built (whereas
> you're trying to use it in the XSP taglib module itself).
OK, I see!
>The only
> way to see it with warn would be:
>
> sub password_matches : attribOrChild(clear,encrypted) expr
> {
> return << 'EOF';
> warn "ATTRs: " . $attr_clear;
> ($attr_clear && $attr_encrypted && crypt($attr_clear,$attr_encrypted)
> eq $attr_encrypted?1:0);
> EOF
> }
OK, so I have to put pretty much everything within that EOF block... I
see that many of the other subs in this module uses EOC instead of EOF,
is that significant?
But, my example works now, thanks a lot! :-)
Best,
Kjetil
--
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]