gowrisub has asked for the wisdom of the Perl Monks concerning the following question:
I have to create a set of data using an array ftn for the variables content code, portal name, content text and display the information in a continous text form.
Pls let me know how to concatenate the corresponing indexes.
------------------
@Code = (404,408);
@Portal_Name = ("http://software.com","http://yahoo.com");
@Text = ("Not found","Request Timeout");
push(@Portal_Name,@Code);
push(@Portal_Name,@Text);
print @Portal_Name;
--------------
I want to print 404 http://software.com Notfound like that for each index element
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Array function to concatenate
by Fletch (Bishop) on Oct 10, 2008 at 14:09 UTC | |
Re: Array function to concatenate
by suaveant (Parson) on Oct 10, 2008 at 14:05 UTC | |
by ikegami (Patriarch) on Oct 10, 2008 at 14:07 UTC | |
Re: Array function to concatenate
by dwm042 (Priest) on Oct 10, 2008 at 15:21 UTC | |
by johngg (Canon) on Oct 10, 2008 at 21:21 UTC | |
by gowrisub (Initiate) on Oct 11, 2008 at 02:27 UTC | |
by Zen (Deacon) on Oct 10, 2008 at 16:49 UTC |
Back to
Seekers of Perl Wisdom