in reply to Executing *.bat containing perl using VB Shell

I know nothing about VB, so God only knows what is actually causing the problem. Maybe it's perl, maybe it's VB, but I don't have the necessary skillset to tell you for sure.

But I will take this opportunity to mention BatWrap downloadable from Joseph Casadonte's page (it's pretty old -- ~1996), for all you Win32 cats who just cant seem to live with typing perl script.pl :). You may find it helpful too, though it seems a bit counterintuitive for this issue..

Oh... And if anyone tries batwrap and notices that a final closing curly bracket on the last line of any given script is not carried over into the new batch file, I'd be interested to know.. It has worked for me before without doing this, but now every script I try to wrap, I have to edit and add a final }. I haven't really examined the code to see why this may be happening, as I just noticed it today and have been otherwise occupied. It may also be the case that I have never tried to wrap a script that has a single curly bracket on the last line before and this issue has always been present with the script.

/renz.
  • Comment on Re: Executing *.bat containing perl using VB Shell

Replies are listed 'Best First'.
Re^2: Executing *.bat containing perl using VB Shell
by PodMaster (Abbot) on Jan 21, 2005 at 04:29 UTC
    for all you Win32 cats who just cant seem to live with typing perl script.pl :)
    That's what pl2bat. BatWrap does something more.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.