in reply to merging arrays
Hi Anonymous Monk, It works for me as below:
use strict; use warnings; my @found_images = qw( hello i am fine); my $pics_to_find = 2; my @saved_images = qq(@found_images[0..$pics_to_find]); #$,="\n"; #print @saved_images; print $saved_images[0]; __END___ OutPut is : hello i am
Use my @saved_images = @found_images[0..$pics_to_find]; also for crunch the array.
Updated
Regards,
Velusamy R.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: merging arrays
by chromatic (Archbishop) on Jun 24, 2006 at 07:00 UTC |