Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [bluesnavigator] Code function.

Quote Reply
Re: [bluesnavigator] Code function. In reply to
Its for doing stuff like;

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!
Subject Author Views Date
Thread Code function. bluesnavigator 3214 Nov 21, 2004, 11:08 AM
Thread Re: [bluesnavigator] Code function.
Andy 3123 Nov 22, 2004, 4:15 AM
Thread Re: [Andy] Code function.
twist 3101 Nov 22, 2004, 5:47 AM
Thread Re: [twist] Code function.
Andy 3115 Nov 22, 2004, 5:53 AM
Post Re: [Andy] Code function.
twist 3108 Nov 22, 2004, 6:14 AM