| 1 |
============================================================================== |
| 2 |
Release of Inline::Files |
| 3 |
============================================================================== |
| 4 |
|
| 5 |
|
| 6 |
NAME |
| 7 |
Inline::File - Multiple virtual files at the end of your code |
| 8 |
|
| 9 |
SYNOPSIS |
| 10 |
|
| 11 |
use Inline::Files; |
| 12 |
|
| 13 |
my Code $here; |
| 14 |
|
| 15 |
while (<FOO>) { print } |
| 16 |
|
| 17 |
# etc. |
| 18 |
|
| 19 |
__FOO__ |
| 20 |
This is a virtual file at the end |
| 21 |
of the data |
| 22 |
|
| 23 |
__BAR__ |
| 24 |
This is another |
| 25 |
virtual |
| 26 |
|
| 27 |
file |
| 28 |
__FOO__ |
| 29 |
This is yet another |
| 30 |
such file |
| 31 |
|
| 32 |
DESCRIPTION |
| 33 |
Inline::Files generalizes the notion of the `__DATA__' marker and the |
| 34 |
associated `<DATA>' filehandle, to an arbitrary number of markers and |
| 35 |
associated filehandles. |
| 36 |
|
| 37 |
When you add the line: |
| 38 |
|
| 39 |
use Inline::Files; |
| 40 |
|
| 41 |
to a source file you can then specify an arbitrary number of |
| 42 |
distinct virtual files at the end of the code. |
| 43 |
|
| 44 |
AUTHOR |
| 45 |
Damian Conway ([email protected]) |
| 46 |
|
| 47 |
|
| 48 |
============================================================================== |