http://qs321.pair.com?node_id=11149927


in reply to Re^3: help with "symbol lookup error" message
in thread help with "symbol lookup error" message

Thanks for providing your list. I've dug a little further and for me the chain to List::Util appears to be just File::Copy -> Scalar::Util -> List::Util with File::Copy having this line:

my $Scalar_Util_loaded = eval q{ require Scalar::Util; require overloa +d; 1 };

This explains why I'm seeing it but not why it is absent in your case. I'll leave that part to you. :-)


🦛

Replies are listed 'Best First'.
Re^5: help with "symbol lookup error" message
by syphilis (Archbishop) on Jan 27, 2023 at 13:18 UTC
    This explains why I'm seeing it but not why it is absent in your case. I'll leave that part to you. :-)

    Heh ... yeah, fair enough ;-)
    AFAICT it's pretty simple. By the time perl-5.36.0 comes along, Sawyer has removed the Scalar::Util requirement from File/Copy.pm.

    Frid'y night (alcohol-fuelled) aside: Given the ease with which perl can be built & installed, and that perl-5.38.0 is only a few months away, I'm surprised that serious perl-users are still running perl-5.34.x.
    I see it as being symptomatic of the mentality expressed poignantly by Frank Zappa in "A Token of My Extreme" (Joe's Garage):
    Some people think that if they go too far, they'll never get back to w +here the rest of them are.
    Cheers,
    Rob
      Given the ease with which perl can be built & installed

      Built, yes. Installed, yes. Tested against all code using that version in production, not so much. I'm very happy to stick with 5.34.0 for the stability. A couple of years ago (ie. 2 major migrations back) it was 5.16 so these are halcyon days indeed.

      All that said, I feel a poll coming on ...

      Update: there it is.


      🦛