in reply to Re^4: Perl syntax checking without `perl -c`
in thread Perl syntax checking without `perl -c`
"from require : You can also insert hooks into the import facility by putting Perl code directly into the @INC array. There are three forms of hooks: subroutine references, array references, and blessed objects."
Well I'll be damned. All my years of Perl, and I've never known this. Man, I've been in several situations where this would have been handy. Off to play around...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Perl syntax checking without `perl -c`
by LanX (Saint) on Dec 05, 2020 at 17:44 UTC |