in reply to splitting files into multiple sections to be processed as a file

Take a look at Inline::Files.
#!/usr/bin/perl use strict; use warnings; use Inline::Files; while(<FILE>) { print "FILE: $_"; } __FILE__ File 1 Hello __FILE__ File 2 World __OTHER_FILE__ Other File 1 Good-bye World! __FILE__ File 3 Hello again! __END__
  • Comment on Re: splitting files into multiple sections to be processed as a file
  • Download Code

Replies are listed 'Best First'.
Re^2: splitting files into multiple sections to be processed as a file
by firstchance (Initiate) on Nov 29, 2011 at 23:47 UTC
    I really need a module called Outline::Files then!