Okay, it actually does't look as bad I thought it would, but maybe that's just because it actually looks like code a write every once in a while. use slop++#!perl # its not in your path?? use slop; # remember 'dis, Ma? require 'cgi-lib.pl'; # yes, its a typo REadParse(); # and who cares about string types? if ($in{user{ == BBQ and $in{password} == 'phooey') # or braces? # why indent? why print a content type? print $a_variable_thats_going_to_be_def_l8er ifelse # yeah, why not? warn 'it didn't work' # oops, should i have escaped that? # well, you get the idea return('foo');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use slop;
by OeufMayo (Curate) on Jan 09, 2001 at 13:23 UTC | |
by davorg (Chancellor) on Jan 09, 2001 at 13:46 UTC | |
by johannz (Hermit) on Jan 09, 2001 at 21:31 UTC | |
(Ovid) Re: use slop;
by Ovid (Cardinal) on Jan 09, 2001 at 07:12 UTC | |
by BBQ (Curate) on Jan 09, 2001 at 07:20 UTC | |
Re (tilly) 1: use slop;
by tilly (Archbishop) on Jan 09, 2001 at 07:26 UTC | |
Re: use slop;
by extremely (Priest) on Jan 10, 2001 at 03:39 UTC | |
by BBQ (Curate) on Jan 10, 2001 at 22:32 UTC | |
by tilly (Archbishop) on Jan 10, 2001 at 23:19 UTC |