Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to store the products into an array without repeating the shirt twice , my array should look like this @products = ( shoe , shirt, hat ); Can someone give me a hint? thanksprice product 200 shoe 20 shirt 10 shirt 5 hat
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pushing to array
by Roger (Parson) on Mar 02, 2004 at 06:16 UTC | |
by aquarium (Curate) on Mar 02, 2004 at 12:25 UTC | |
|
Re: pushing to array
by Tomte (Priest) on Mar 02, 2004 at 07:29 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |