Re: Perlapp and DateTime parsers - NOT!?!?
by kenneth other posts by this author
Dec 8 2006 9:02AM messages near this date
Re: Perlapp and DateTime parsers - NOT!?!?
|
Re: Perlapp and DateTime parsers - NOT!?!?
> Well you must have worked out what was necessary when you said
> further down that you moved some files into the directory and it all
> worked. Just bind those same files into the exe. Then you WILL have
> salvaged the situation.
Yep...about 5 minutes after I posted I read up on binding the modules, and
came up with this:
perlapp -f --add DateTime::Format::Builder::Parser::generic --add
DateTime::Locale::en --bind
DateTime/Format/Builder/Parser/Regex.pm[file=c:\Perl\site\lib\DateTime\Format\Builder\Parser
\Regex.pm,extract]
foo.pl
Now foo.exe runs through (not that there's much to run through - there are
further things that need to be done I suspect, but between --add and --bind
in this manner, it should be doable).
So basically, I now will produce the list of necessary binds dynamically (to
adapt to wherever the DateTime::* stuff is installed in the INC).
Anyway, thanks for listening and helping - it's amazing what you figure out
when you explain the problem to others :-)
ken1
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
kenneth
John Day
kenneth
John Day
|