develooper Front page | perl.perl5.porters | Postings from August 2001

Re: 'can' with undefined subs

Thread Previous | Thread Next
Tony Bowden
August 19, 2001 18:13
Re: 'can' with undefined subs
Message ID:
On Sat, Aug 18, 2001 at 05:33:01PM +0100, Hugo van der Sanden wrote:
> I'd guess comp/decl.t and/or comp/proto.t. Be a bit careful though -
> since comp/* tests appear so early in the test suite, it is preferable
> to avoid using complex code.

I had a look at decl.t, and it confuses me somewhat...

 - is this test explicitly testing formats as well? Or just checking
   that they don't interfere with subroutine declarations?

 - What's the difference between tests 2 and 4? They both seem to just
   be testing that you can call a subroutine that gets declared further
   ahead in the code.

(Oh, and if I patch this, do I need to do anything with the RCS line,
or can I just blow it away?)


 Tony Bowden | |
         the woods are lovely, dark, and deep, but I have promises to keep

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About