debian man page for pdl::perldl2::niceslice

Query: pdl::perldl2::niceslice

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NiceSlice(3pm)						User Contributed Perl Documentation					    NiceSlice(3pm)

NAME
PDL::Perldl2::Plugin::NiceSlice - enable PDL NiceSlice syntax
DESCRIPTION
This plugin enables one to use the PDL::NiceSlice syntax in an instance of "Devel::REPL" such as the new Perldl2 shell, "pdl2". Without the plugin, array slicing looks like this: pdl> use PDL; pdl> $a = sequence(10); $PDL1 = [0 1 2 3 4 5 6 7 8 9]; pdl> $a->slice("2:9:2"); $PDL1 = [2 4 6 8]; After the NiceSlice plugin has been loaded, you can use this: pdl> $a(2:9:2) $PDL1 = [2 4 6 8];
CAVEATS
"PDL::NiceSlice" uses Perl source preprocessing. If you need 100% pure Perl compatibility, use the slice method instead.
SEE ALSO
"PDL::NiceSlice", "Devel::REPL", "PDL::Perldl"
AUTHOR
Chris Marshall, "<chm at cpan dot org>"
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Christopher Marshall This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-02 NiceSlice(3pm)
Related Man Pages
pptemplate(1) - suse
pdl(3) - suse
pdl::pptemplate(3) - suse
pdl::pdl2(3pm) - debian
pdl::pptemplate(3pm) - debian
Similar Topics in the Unix Linux Community
Detecting unused variables...
Find columns in a file based on header and print to new file
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?
My first PERL incarnation... Audio Oscillograph