in reply to Problem with my .pl script. Helpppp!
update: You would also benefit immensely from reading `perldoc perlstyle' and applying some of those suggestions (Perl::Tidy makes it easy).#!/usr/bin/perl use strict; use warnings; my $bob =1; my $rob =2; roy(); print "Content-Type: text/html\n\n"; print "HELLO ROB$rob\n\n"; exit 0; sub roy { print "\n\nHELLO BOB$bob\n\n"; return; } __END__ HELLO BOB1 Content-Type: text/html HELLO ROB2
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | |
| I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | |
| ** The third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problem with my .pl script. Helpppp!
by fraktalisman (Hermit) on Aug 31, 2003 at 12:25 UTC | |
by antirice (Priest) on Aug 31, 2003 at 14:23 UTC | |
by webstudioro (Acolyte) on Aug 31, 2003 at 14:22 UTC | |
|
Re: Re: Problem with my .pl script. Helpppp!
by webstudioro (Acolyte) on Aug 31, 2003 at 14:17 UTC | |
by PodMaster (Abbot) on Aug 31, 2003 at 14:30 UTC | |
by webstudioro (Acolyte) on Aug 31, 2003 at 17:00 UTC | |
by jeffa (Bishop) on Aug 31, 2003 at 18:16 UTC | |
by webstudioro (Acolyte) on Sep 01, 2003 at 07:58 UTC | |
| |
by chanio (Priest) on Aug 31, 2003 at 18:15 UTC |