logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-16-2010, 10:17 PM   #1
mkarmali
 
Join Date: Apr 2010
Posts: 4
Default Dreamweaver and Perl

Hi:

Can I do something like this:

-------------------------------------------
#!/usr/local/bin/perl -w
sub Show_HTML {
print $query->header;
my $html = "";
$html .= <<EOT;

<<---------copy and paste entire Dreamweaver page file here

EOT
return $html;
}


------------------------------------------

and put this file in the cgi-bin directory?

Thanks.
mkarmali is offline   Reply With Quote
Old 04-20-2010, 10:28 AM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

as long as its valid PERL then you can

Not really into PERL but its returning a string and if you can return a string then you can return HTML.

It will be a Mare to support if you intend to serve an entire site this way though.

I pity the developer who inherits this
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 04-20-2010, 06:31 PM   #3
mkarmali
 
Join Date: Apr 2010
Posts: 4
Default Thanks

Thanks a lot.
mkarmali is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com