2009/11/9 Shawn H Corey <shawnhco...@gmail.com>:
...
> use Data::Dumper;
>
> # Make Data::Dumper pretty
> $Data::Dumper::Sortkeys = 1;
> $Data::Dumper::Indent   = 1;
>
> # Set maximum depth for Data::Dumper, zero means unlimited
> $Data::Dumper::Maxdepth = 0;
>
> my @array = (1, 4, 6, 9, 2);
> my @list = @array[ 1 .. 3 ];

Thanx Shawn/Jim,

Am a bit disappointed with myself for not seeing that.
Thanx,
Dp.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to