Re: Idea / preRFC - return value of require
[email protected] (Gianni Ceccarelli via perl5-porters) Thu, 12 Feb 2026 15:30:29 +0000
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <20260212153029.71576a26@exelion> |
On Thu, 12 Feb 2026 16:18:33 +0100 Aristotle Pagaltzis via perl5-porters <[email protected]> wrote: > If you could literally do > > require $package; $package->value > > then that *would* be how you should do it, not by fiddling with the > `require` return value. my $ua = builtin::load_module("LWP::UserAgent")->new(); works, today. -- Dakkar - <Mobilis in mobile> GPG public key fingerprint = A071 E618 DD2C 5901 9574 6FE2 40EA 9883 7519 3F88 key id = 0x75193F88