in reply to Inline::Files and DBD::CSV
open(my $fh, '<', \<<'__EOI__'); ... ... ... __EOI__
A more complex example:
my %files = ( users => <<'__EOI__', ... ... ... __EOI__ posts => <<'__EOI__', ... ... ... __EOI__ ); open(my $fh_users, '<', \$files{users}); open(my $fh_posts, '<', \$files{posts});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inline::Files and DBD::CSV
by H4 (Acolyte) on Oct 14, 2008 at 17:20 UTC | |
by ikegami (Patriarch) on Oct 14, 2008 at 17:45 UTC |