develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #116975] [PATCH] perlfunc require: fix example subroutine

Thread Next
From:
Tony Cook via RT
Date:
July 5, 2013 06:11
Subject:
[perl #116975] [PATCH] perlfunc require: fix example subroutine
Message ID:
rt-3.6.HEAD-2552-1373004642-343.116975-15-0@perl.org
On Wed Feb 27 17:31:56 2013, dagolden@cpan.org wrote:
> The semantics of require are reasonably complex.  The perlfunc entry
> gives an example saying "has semantics similar to the following".
> Unfortunately, that example leaves out a lot, which could mislead
>    people
> who -- for whatever reason -- want to try to emulate CORE::require.
> 
> This patch makes the following changes to bring the "sub require"
>    example
> closer to the actual behavior of CORE::require.

Did you ever work out a final version of this patch?

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116975

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About