PerlElvir
Technical User
- Aug 23, 2005
- 68
Hi all,
I have 2 x 3 array so I need to make combination between to get link
example:
my @year=("1year","2year");
my @month=("1month","2month");
my @day_1=("1day");
------
my @name=("1name","2name");
my @fruit=("1fruit","2fruit");
my @day_2=("2day");
-------
SO I need to get this:
link = 1year-1month-1day-1name-1fruit-2day
link = 1year-1month-1day-2name-2fruit-2day
link = 2year-2month-1day-1name-1fruit-2day
link = 2year-2month-1day-2name-2fruit-2day
Elvir,
I have 2 x 3 array so I need to make combination between to get link
example:
my @year=("1year","2year");
my @month=("1month","2month");
my @day_1=("1day");
------
my @name=("1name","2name");
my @fruit=("1fruit","2fruit");
my @day_2=("2day");
-------
SO I need to get this:
link = 1year-1month-1day-1name-1fruit-2day
link = 1year-1month-1day-2name-2fruit-2day
link = 2year-2month-1day-1name-1fruit-2day
link = 2year-2month-1day-2name-2fruit-2day
Elvir,