Subject: slices

Your examples are not using slices. A slice implies a list (more than one) of indexes


oryann9 wrote:
Trying to understand from perldoc perldata the diff
between these 3 CLIs and why the 2nd CLI has no
elements?

From perldata: "A slice of an empty list is still an empty list."


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to