From: "Kashif Salman" <[EMAIL PROTECTED]>
> I know I can create html code using CGI and call a subroutine in there
> easily but if i were to use a here document for my html code, can I
> call a subroutine in there?
> 
> print<<END;
> HTML code
>                     <--Can I call foo() in here somehow?
> END
> 
> sub foo {..}

Have a look at Interpolation.pm on CPAN.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to