Darren Ferguon - Weblog

Perl - Hello World

The classic and most simple sample :)

Marco Tag

<?PERL_MACRO id="hello"></?PERL_MACRO>

Marco Output

PERL FOR UMBRACO: The remote server returned an error: (404) Not Found. requesting http://www.darren-ferguson.com:80/plex/hello.plex

Perl Source

use strict;
use utf8;
use CGI;

my $query = new CGI;
print $query->header(-charset => 'utf-8');
print "Hello World!";