Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > subroutine in h...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 10735 of 12002
Post > Topic >>

subroutine in here do***ent

by kashifsalman@[EMAIL PROTECTED] (Kashif Salman) Mar 14, 2008 at 03:24 PM

I know I can create html code using CGI and call a subroutine in there
easily but if i were to use a here do***ent 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 {..}
 




 4 Posts in Topic:
subroutine in here document
kashifsalman@[EMAIL PROTE  2008-03-14 15:24:47 
Re: subroutine in here document
rob.dixon@[EMAIL PROTECTE  2008-03-14 22:48:02 
Re: subroutine in here document
noreply@[EMAIL PROTECTED]  2008-03-14 23:44:52 
Re: subroutine in here document
Jenda@[EMAIL PROTECTED]   2008-03-15 04:04:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 9:39:20 CDT 2008.