SPUG: RE: Simple program - gone wrong

Chris Wilkes cwilkes-spug at ladro.com
Mon Jul 8 13:02:04 CDT 2002


On Mon, Jul 08, 2002 at 10:47:38AM -0700, Chris Wilkes wrote:
>   for my $num (0..100) {
>     foreach (@files) {
>       print RDIR, "$num | $_\n";
>     }
>   }

Arg there shouldn't be a comma in there.  Should just be:
	print RDIR "$num | $_\n";

Chris

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list