Text-Fab 0.02
“A powerful, general-purpose document expansion framework (currently exists mostly as uncomplete documentation and a beginning of a stub of…”
Perl slurps a filehandleLow identifier reuse ratio
SHA-25667415b4fdedb69a9c451b357f04c4543a01e933d25b696894af266559df663e6
MaleculeH(F)Md
Evidence
1package Text::Fab;
2
3use 5.022;
4use strict;
5use warnings;
6
7our $VERSION = '0.02';
8
9#use Storable 'dclone'; # For group snapshots (does not support CODE references in data!)
10use FreezeThaw qw(safeFreeze thaw); …
12:28… Freeze shift)[0] }
13
14# --- Default Callbacks ---
15
16sub _default_interleaver {
⋯3 lines
230:56… etected for file '$data'\n";
231 }
232
233 open my $fh, '<', $data
234 or die "E_FILE_READ_ERROR: Cannot read include file '$data': $!\n";
235 my $content = do { local $/; <$fh> };
236 close $fh;
237
238 push @{$self->{include_stack}}, $data;
239 eval {
240 $self->process_string($content …
597:6… die "E_DANGLING_END_GROUP: #end_group called with no open group\n";
598 }
599
600 my $top = pop @{$self->{group_stack}};
601
602 if (defined $flavor) { …
1use strict;
2use warnings;
3use Test::More;
4use Test::Exception;
5use Text::Fab;
6
7use_ok('Text::Fab');
⋯4 lines
No evidence locations were recorded for this file. Raw result