DATA: Itm1,Red,S,1.00 Itm1,Red,M,1.00 Itm1,Red,L,1.50 Itm1,Grn,S,1.00 Itm1,Grn,M,1.00 Itm1,Grn,L,1.25 Itm1,Grn,XL,1.50 Itm2,Red,S,2.00 Itm2,Red,M,2.00 Itm2,Red,L,2.50 Itm2,Brn,S,2.00 Itm2,Brn,M,2.00 Itm2,Brn,L,2.25 Itm2,Brn,XL,2.50
I would need from the above sample the following outputs:
Itm1 - (Color Drop Down) - (Size Drop Down) - Price
I have Java scripts that auto change Size Drop Down and Price using Java Script Arrays.
I need in perl a way to create a hash/array/etc so that I can access get
- All Unique colors for Itm1 individually through a loop (for color drop down)
- All Sizes for Itm1,Color1 individually for a Java Script Array for each item
- All Prices for Itm1,Color1 individually for a Java Script Array for each item
Patrick Shoaf [EMAIL PROTECTED]
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]