Re: subroutine in here document

2008-03-14 Thread Jenda Krynicky
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< HTML code > <--Can I call foo() in here somehow? > E

Re: subroutine in here document

2008-03-14 Thread Rob Dixon
Kashif Salman wrote: > 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< Yes you can, but I'd rather not tell you how because it's likely to be the ugliest of several poss

Re: subroutine in here document

2008-03-14 Thread Gunnar Hjalmarsson
Kashif Salman wrote: 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< Check out the FAQ entry perldoc -q "function calls" -- Gunnar Hjalmarsson Email: http://www.gu

subroutine in here document

2008-03-14 Thread Kashif Salman
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