>It's always better to reply in the mailing list also, since some users are 
>always better and can correct code:-)

Sorry for that.

Yes, this is what I'm looking for.  Thank you


>To access each field, you just have to access theindivudual array elements
>
>open FILE, $file or die "Cannot open file: $!\n";
>while (<FILE>) {
>my @list = split; # splits using a space as delimiter
>   for (0..(@list-1)) { # goes from the first field position to the last
>   print "@list[$_] "; # This is the variable for the current field read 
> in the array
>   }
>print "\n";
>}
>
>let's say your file has in it:
>
>=====
>hello world
>foo bar
>=====
>
>The script will return:
>hello world
>foo bar
>
>(the exact same output since there is no modification done with each word)
>
>Hope it's what you're looking for
>
>Etienne




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to