in reply to Re: Re: Inline::Files bug?
in thread Inline::Files bug?
I don't know Inline::Files myself, but one minute browsing of the module and I found:
I think I can guess what that does.my (%symbols, $source); foreach my $vfile (vf_load($file, $SOVFM_pat)) { my $symbol = vf_marker($vfile); $symbol =~ s/^__|__\n//g; push @{$symbols{$symbol}}, $vfile; } foreach my $symbol (keys %symbols) { no strict 'refs'; my $fq_symbol = "${package}::${symbol}"; @$fq_symbol = @{$symbols{$symbol}}; $$fq_symbol = $symbols{$symbol}[0]; my $impl = tie *$fq_symbol, $class, $fq_symbol, -w $file; tie %$fq_symbol, $class."::Data", $impl; }
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Inline::Files bug?
by BrowserUk (Patriarch) on Aug 01, 2002 at 13:02 UTC | |
by Abigail-II (Bishop) on Aug 01, 2002 at 13:38 UTC |