Great! I used the batch file technique, and it works like a charm (although I had to parse the output to get the exact string I was expecting).
Thanks so much to both of you--
Jim
Mike,
You're right about the path--thanks. Unfortunately, that doesn't fix the cal problem (it just makes the other unix commands work with the entire path).
Scotty,
I printed out the length of $a and it's 0.
This does sound like an environment problem, doesn't it? Any ideas where to poke...
Hi Mike,
Yeah, I have tried that--the weird thing is that when I use the entire path (c:\cygwin\bin\cal), the perl compiler at the command line breaks also. Not sure why that is, but I don't think it's related to my problem, because, as I said, a bunch of the other unix commands work fine...
I'm not sure if this is a perl, apache or windows problem, or what. But I'm completely stuck, and I'd appreciate any thoughts you might have:
I'm having trouble using the cal command (it's the unix command ported to windows) in my perl file. I'm running Apache 2.0.47 along with cygwin on XP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.