PDL::Perldl2::NiceSlice man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

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

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.18.1			  2013-05-12			  NiceSlice(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net