On Thu, Apr 12, 2001 at 10:39:07AM -0700, Peter Jay Salzman wrote:
>    $from = 3;
>    $to = 6;
>    $range = ($from .. $to);
> 
> i'm assuming this code fragment doesn't work because i'm using the operator
> in scalar context instead of list context?

It doesn't work because you are taking the scalar context of the array
($from..$to), when you actually want to concatenate the array into a string.

-- 
Henry House
OpenPGP key available from http://hajhouse.org/hajhouse.asc

PGP signature

Reply via email to