hey,

I was wondering if par could be used to bundle coderefs, ie if there was the equivalent
to the following:


use Data::Dumper;
use PAR;


my @file =  (1,2,3,4);

pp('-o', 'file.exe', sub { print STDERR Data::Dumper([EMAIL PROTECTED]); })

ie: where pp uses the surrounding context as well as the libraries, files, etc. in 
order to create an executable.  (running file.exe should print '1,2,3,4')

Is this possible? I looked through the docs briefly, and it didn't seem to be.. 
If it isn't, anyone got a good workaround?

Thanks much,

Ed

Reply via email to