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. |
In reply to Re: Problem with my .pl script. Helpppp!
by PodMaster
in thread Problem with my .pl script. Helpppp!
by webstudioro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |