Lovely! Guess its time to use some module to get all files that are used in a script and insert them into the zip!
... and this process could make password-protected ZIP to make source hiding, if needed.
Do you think CPAN waits for this yet another packaging solution??
However, I tried runing this now working tcltests.pl with both cstart and wstart, and I didn't get any console window with cstart!
mea culpa. I've uploaded better "cstart.exe" to same location, and with a different name (start.exe) to avoid caching problems
| [reply] |
Check dates on those files. cstart and start has same, while wstart has its own. I suppose those dates are mod dates, so if thats the case you can see that its uploaded correctly :)
Anyway, works fine now! And, apparently one should translate:
File/Glob did not return true value at C:\test\modules/redo.pm line 82
+, <DATA> line 1.
BEGIN failed--compilation aborted at C:\test\test1.pl line 55, <DATA>
+line 1.
as Missing Module! But, I though glob was some buildin function...ohwell...
Also, hell yea. Put this on CPAN! Can one have too many? :) Well, since this has another approach (all in mem) you should put it there! Love the idea about packing up as needed aswell. And all in memory is really nice. I would have done this myself if I had the time.
I've also tested that running another script from within a script seems to be working fine. Which is nice and wanted by me :).
Password protect zip is nice, but when do you supply that pass? What if needed modules are in the zip. Then you can't exactly show the nice Tk dialogbox asking for a pass.. (unless you put all Tk outside the .zip and use lib ".")...
Two other things that is nice with the other packages are: 1. Scramble up the script running... Using stuff like Bleach (PAR::Filter::Bleach) and PAR::Filter::Bytecode
2. Have it all in one file. Althouth this is quite nice as it is. But embedd it all is an interesting project even for me. Would be nice to hack such a thing :)
/ Ace
| [reply] [d/l] |
about adding to ZIP - usually all is smooth, but sometimes there are difficulties, fortunately avoidable.
Remeber - this is one-user's little tested approach; more stable will probably be after CPANizing it...
about password for ZIP - password could be quirked into "start.c" and supplied for Archive::Zip, so no-one will steal your main .pl file, because it is scrambled inside that ZIP archive. So user can run executable but will not get algorithm itself.
| [reply] |