Re: Including Every Option/Need a genius

2002-07-08 Thread Janek Schleicher
Felix Geerinckx wrote at Mon, 08 Jul 2002 14:52:14 +0200: Or in more general we are talking about cross products of some > Why not use nested for-loops: > > #! perl -w > use strict; > > my @types = qw(basketball baseball beach golfball soccerball); > my @sizes = qw(large me

Re: Including Every Option/Need a genius

2002-07-08 Thread Patricia Hinman
Code update. Didn't take alot of thought #!C:\Perl\bin\perl.exe BEGIN{open(STDERR,">>./err.txt");} use CGI param, header; print header(); @type = ("basketball","baseball","beach","golfball","soccerball"); @size = ("large","medium","small"); @color = ("green","red"); @ballsel = (@type,[@size,[@co

Re: Including Every Option/Need a genius

2002-07-08 Thread Felix Geerinckx
on Mon, 08 Jul 2002 12:30:48 GMT, [EMAIL PROTECTED] (Patricia Hinman) wrote: > I'm creating code that takes a list of attributes and > puts together each possible attribute with the item. > > This is a matter of not knowing where to increase the > indexes at. And not knowing how to assign the i

Including Every Option/Need a genius

2002-07-08 Thread Patricia Hinman
I'm creating code that takes a list of attributes and puts together each possible attribute with the item. This is a matter of not knowing where to increase the indexes at. And not knowing how to assign the indexes. #!C:\Perl\bin\perl.exe BEGIN{open(STDERR,">>./err.txt");} use CGI param, header;