in reply to Re: A simple question regarding join
in thread A simple question regarding join

physi,

Your code doesn't compile, might I suggest:

use strict; my $i=1; my @array = map{$_ . $i++} qw(TEST TEST TEST); print "@array";

Cheers - L~R

Replies are listed 'Best First'.
Re: Re: Re: A simple question regarding join
by physi (Friar) on Feb 20, 2003 at 00:09 UTC
    Yupp you're right, It was just 'out-of-the-head' and maybe it's to late in the evening ;-)
    -----------------------------------
    --the good, the bad and the physi--
    -----------------------------------