Re: Writing this chuck of code a little smaller...

2002-03-14 Thread Tanton Gibbs
ot; <[EMAIL PROTECTED]> To: "Tanton Gibbs" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 9:32 PM Subject: RE: Writing this chuck of code a little smaller... > Tanton, > > Thanks, that's alot better now! Out of curiosity. At

RE: Writing this chuck of code a little smaller...

2002-03-14 Thread Daniel Falkenberg
\s*(.*?)\s*$/; $filehash{$title}{$1} = $2; } close FILE; return %filehash; } Does this look stupid to you or is this actually possible? Regards, Da -Original Message- From: Tanton Gibbs [mailto:[EMAIL PROTECTED]] Sent: Friday, 15 March 2002 12:48 PM To: Daniel Falkenberg; [

Re: Writing this chuck of code a little smaller...

2002-03-14 Thread Tanton Gibbs
not get here!"; } write_results( $poll_file, $filehash ); - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 8:51 PM Subject: Writing this chuck of code a little smaller... > D'day

Writing this chuck of code a little smaller...

2002-03-14 Thread Daniel Falkenberg
D'day all, I have the following chunk of code that I was wondering If I can write a little smaller. I was thinking a while loop. Could some one give me a little advice on this one :)... results_read(); if ($poll =~ /newspaper/) { print "Thank you for picking news paper!"; $none