getting Values out of <Array>

N

Noname

I am not able to find any litrature on
why?
$Value="@Array" gives the values from an array
 
A

Anno Siegel

Noname said:
I am not able to find any litrature on
why?
$Value="@Array" gives the values from an array

perldoc perldata. Look for the paragraph that begins "Arrays and slices
are interpolated...".

Anno
 
C

Charles DeRykus

I am not able to find any litrature on
why?
$Value="@Array" gives the values from an array

perldoc perldata

From above doc:

Arrays and slices are interpolated into double-quoted
strings by joining the elements with the delimiter specified
in the "$"" variable ("$LIST_SEPARATOR" in English), space
by default. The following are equivalent:

$temp = join($", @ARGV);
system "echo $temp";

system "echo @ARGV";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top