Its for doing stuff like;
use strict;
use CGI;
my $IN= new CGI;
my @test = qw/test foo bar/;
print $IN->header;
foreach (@test) {
chomp;
print $_ . "\n";
}
print "testing!!!";
It basically puts a <pre>..</pre> tag around the code, as well as a "code" section just above it, so people know what type of code it is.
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
#!/usr/bin/perl use strict;
use CGI;
my $IN= new CGI;
my @test = qw/test foo bar/;
print $IN->header;
foreach (@test) {
chomp;
print $_ . "\n";
}
print "testing!!!";
It basically puts a <pre>..</pre> tag around the code, as well as a "code" section just above it, so people know what type of code it is.
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!