DELTA(1)
πΈ NAME πΈ
PDL::Delta β PDL changes between V1.0 and V2.0 β¨ and yes bestie, this is the DELTA(1) manual page from the User Contributed Perl Documentation, welcome to the group chat π
π DESCRIPTION π
okay so this file is literally an attempt to list the major user-visible changes between PDL versions 1.0 and 2.0 β no cap, thatβs the whole mission π«Ά
β¨ Core Changes β¨
π¦ ndarrays are not hashes any more: π¦
like, they are not hashes anymore, periodt. this:
$x = zeroes 10,10;
$$x{FOO} = "bar"
doesnβt work π
They are currently scalar references (to opaque C structures in finer terms) because of speed as well as syntactic issues. If you want to have a hash, use
$x->hdr()
which returns a reference to an anonymous hash. Also, subclassing works if you store an ndarray in the hash member "PDL".
There are also many core enhancements to support Dataflow and Slicing tricks, but these do not introduce any incompatibilities. slay, no breaking vibes there π
π Incompatible Changes vs 1.11 π
rgrepβ order of the arguments has changed. not me having to re-read that, but okay πcopymethod β no longer copies the header. This may not be a misfeature. π make of that what you will.
π Documentation Changes π
Many of the base and library pods were updated. glow-up for the docs, fr fr β¨
π SEE ALSO π
- The
Changesfile for exhaustive details on what changed. iykyk π - The
INSTALLfile for how to build PDL. π οΈ - The
READMEfile for general stuff. π«Ά
π HISTORY π
pdldelta was inspired by perldelta man page in the Perl 5.004 distribution. iconic lineage, honestly π
okay thatβs the whole vibe bestie π this page is literally DELTA(1), coming from perl v5.32.1, dated 2022-04-11 β mwah, go read those files π«Άβ¨
π¦ where this page comes from
- epel 9: perl-PDL 2.78.0-1.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms