GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PDL::PERLDL2::NICESLICE (3)

.ds Aq ’

NAME

PDL::Perldl2::Plugin::NiceSlice - enable PDL NiceSlice syntax

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NICESLICE (3) 2015-08-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.