Checking Perl 5.8.0 programs.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

 > cat
use strict;
use warnings;

Undefined subroutine &main::foo called at ./ line 4.

 >perl -MO=Lint syntax OK

What's a better way to check whether a program has undefined subroutines?


Re: Checking Perl 5.8.0 programs.

On 23/06/2010 14:35, RedGrittyBrick wrote:
Quoted text here. Click to load it

 >perl -MO=Lint,all
Undefined subroutine foo called at line 4 syntax OK

I should read documentation with more care :-(


Site Timeline