Why not ...

..
if ($true) {
        print $q->a({-href=>'some.cgi'}, 'This is a Link');
        }
else {
        print $q->u('This is a Link');
        }
 The only other way I would know how to do this would be with some
Javascript ... but if your "condition" can be determined by the CGI have the
script do it while generating the form/screen ...

Hope this give you some ideas ...

-----Original Message-----
From: Rahul Garg [mailto:[EMAIL PROTECTED]]
Sent: August 01, 2001 00:26
To: Alessandro Lenzen; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: simple


What i mean is that on certain condition if true the hyperlink to a
particular perl script  can be activated but if false canniot bre
activated(ie though the hyperlink is shown it doesnt work)just like there is
a DISABLE option in Button.

----- Original Message -----
From: Alessandro Lenzen <[EMAIL PROTECTED]>
To: Rahul Garg <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 7:20 PM
Subject: AW: simple


> What do you mean by "How can we disable the hyperlink?"
> al
>
> -----Ursprüngliche Nachricht-----
> Von: Rahul Garg [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 31. Juli 2001 15:24
> An: [EMAIL PROTECTED]
> Betreff: simple
>
>
> Hello,
>
> How can we disable the hyperlink?
>
> Waiting for Reply,
> Thanx in advance,
> Rahul
>
>


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

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

Reply via email to