DELTA(1p)

πŸ“¦ version 2.074, in ubuntu jammy

✨ DELTA(1p) ✨

ok so this is DELTA, bestie β€” a lil page from the User Contributed Perl Documentation corner of the world. buckle up πŸ’–


🌸 NAME 🌸

PDL::Delta β€” PDL changes between V1.0 and V2.0 πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

okay so listen. this file is literally an attempt to list the major user-visible changes between PDL versions 1.0 and 2.0. that's it. that's the whole assignment. no cap. ✨


πŸ‘‘ Core Changes πŸ‘‘

πŸŽ€ ndarrays are not hashes any more πŸŽ€

this is the big one, bestie. watch:

$x = zeroes 10,10;
$$x{FOO} = "bar"

yeah. that doesn't work. πŸ’€ sorry.

they are currently scalar references (to opaque C structures, in finer terms) because of speed as well as syntactic issues. so like, the vibe check on hashes failed and they got replaced.

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. iykyk πŸ’…

there are also many core enhancements to support Dataflow and Slicing tricks, but these do not introduce any incompatibilities. so like, breathe. 🫢

🌟 Incompatible Changes vs 1.11 🌟

okay these ones WILL catch you off guard, so read them fr fr 😭
  • rgrep β€” Order of the arguments has changed. πŸ‘€
  • copy method β€” No longer copies the header. This may not be a misfeature. πŸ™ˆ

πŸ¦‹ Documentation Changes πŸ¦‹

Many of the base and library pods were updated. πŸ“šβœ¨


πŸ”₯ SEE ALSO πŸ”₯

  • The Changes file for exhaustive details on what changed. πŸ‘‘
  • The INSTALL file for how to build PDL. πŸ› οΈ
  • The README file for general stuff. πŸŽ€

🌈 HISTORY 🌈

pdldelta was inspired by perldelta man page in the Perl 5.004 distribution. πŸ’œ iconic behaviour honestly.


and that's the whole page, bestie!! this was DELTA(1p) from perl v5.34.0, dated 2022-02-08 β€” slay, go read the other manpages, mwah πŸ’…πŸ’–πŸ«Ά

πŸ“¦ where this page comes from
  • ubuntu jammy: pdl 1:2.074-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms