This also protects against use Include $0;package Include; ... my $sanity_count = 0; sub import { my (undef, @files) = @_; @files = find_files(@files); # cdarke added $sanity_count?croak ("Possible recursion!: @files"):$sanity_count+ ++; ...
In reply to Re: Solved: splitting source file
by cdarke
in thread Solved: splitting source file
by AriSoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |