Legend:
- Unmodified
- Added
- Removed
-
lib/v6.pm
r9816 r9973 2 2 3 3 use strict; 4 use Filter::Util::Call; 5 6 sub import { 7 my ($package, $filename, $line) = caller; 8 my $f = do { 9 open my $fh, '<', $filename.'c'; 10 local $/; 11 readline($fh); 12 }; 13 filter_add(sub { 14 filter_del(); 1 while filter_read(); $_ = $f; 1; 15 }); 16 } 17 18 1; 19 __END__ 4 20 use Inline; # this is going away soon 5 21 use Filter::Simple;
