in reply to Array length with range operator

16:35 >perl -wE "say scalar(my @a = 'aa' .. 'zz');" 676 16:35 >

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Array length with range operator
by gurpreetsingh13 (Scribe) on Jun 06, 2013 at 07:27 UTC
    Works. But I didn't want to generate a separate list variable @a.
      perl -wE "say scalar( () = 'aa' .. 'zz');"