Catman...arc_set(3pm)

πŸ“¦
version 1.320 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ‘‘ NAME πŸ‘‘

Catmandu::Fix::Inline::marc_set β€” bestie, it's a marc_set-er for Perl scripts πŸ’…

⚠️ and yes she comes with a (DEPRECATED) stamp on her forehead, we'll get to that 🫢

✨ SYNOPSIS ✨

okay so here's the vibe, literally the whole usage:

use Catmandu::Fix::Inline::marc_set qw(:all);

# Set to literal value
my $data  = marc_set($data,'245[1]a', 'value');

# Set to a copy of a deeply nested JSON path
my $data  = marc_set($data,'245[1]a', '$.my.deep.field');

like. that's it. that's the whole girl πŸŽ€


πŸ’€ DEPRECATED πŸ’€

ngl this one's giving retired icon. This module is deprecated. Use the inline functionality of Catmandu::Fix::marc_set instead. no cap, that's the move πŸ‘‘


🌸 SEE ALSO 🌸

  • Catmandu::Fix::marc_set β€” the glow-up, the main character, the one you actually want ✨

mwah πŸ’‹ that's a wrap bestie β€” this page is from perl v5.38.2, dated 2024-08-03, and yeah, she's a little old but she ate regardless πŸ¦‹

πŸ“¦ where this page comes from