File: README

package info (click to toggle)
libinline-files-perl 0.71-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 232 kB
  • sloc: perl: 617; xml: 12; makefile: 7
file content (48 lines) | stat: -rwxr-xr-x 1,050 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
==============================================================================
                         Release of Inline::Files
==============================================================================


NAME
    Inline::File - Multiple virtual files at the end of your code

SYNOPSIS

    use Inline::Files;

    my Code $here;

    while (<FOO>) { print }

    # etc.

    __FOO__
    This is a virtual file at the end
    of the data
        
    __BAR__
    This is another
    virtual

    file
    __FOO__
    This is yet another 
    such file

DESCRIPTION
    Inline::Files generalizes the notion of the `__DATA__' marker and the
    associated `<DATA>' filehandle, to an arbitrary number of markers and
    associated filehandles.

    When you add the line:

            use Inline::Files;

    to a source file you can then specify an arbitrary number of
    distinct virtual files at the end of the code.

AUTHOR
    Damian Conway (damian@conway.org)


==============================================================================