in reply to CGI::Carp sometimes fails

die "X - " . $file{'receipt', 'file'};

Just in case it helps others who were as confused as I was, this old node explains why Bod is still using Perl's deprecated multidimensional feature.

Note that use v5.36; disables this ancient Perl-4-style multidimensional array emulation.

Update: see also : Data Structure References

👁️🍾👍🦟

Replies are listed 'Best First'.
Re^2: CGI::Carp sometimes fails
by Bod (Parson) on May 19, 2024 at 10:47 UTC
    Note that use v5.36; disables this ancient Perl-4-style multidimensional array emulation

    Thanks for the heads up eyepopslikeamosquito :)

    Now that I know where to store modules thanks to haj, it's my intention to rewrite this legacy code and remove the current repetition. Looks like I might have to move that up the todo list...certainly before I upgrade to Perl v5.36.