I'm runing PERL in Windows 2000 Server env. My PERL app it was working perfect suddenly the application did not finish. Iīm put it running under debug mode and could see that the PERL stopped when tried to execute a print command. I changed sample print to print STDOUT put the error persisted, then put a comment and all prints and the sprintf command stopped. Looks like crazy but I donīt know what I can do.
Note: During the app running I could to observe that system messages stopped also. For example, my app execute the system command copy, normally the system respond "1 file copied", it also disappeared.
I thank an aid.
############# News ##################
Today I have more informations about my problem.
My PERL app is called from another app named HP SERVICE DESK (in JAVA).
The news are, when I run my PERL app through the DOS COMMAND LINE, it is working fine (PRINT and SPRINTF command work), but when my app is called from HP SERVICE DESK, print and sprintf stop.
I created a sample DOS BAT app, inside I codified only a ECHO HELLO WORD and a DIR command, amazingly, when I run the BAT from DOS COMMAND LINE the ECHO and result of DIR command showed, but the same way, when I forced the HP SERVICE DESK to call these BAT automatically, the ECHO and DIR didnīt show.
So my friends, I see my situation is quite focused, I donīt know if anybody will be able to help me, BUT GIVE A GOOD TRY PLEASE!
IMPORTANT: The regular Windows solutions have all been tried, that means we reinstalled Windows 2000 Server, reinstalled PERL, reinstalled HP SERVICE DESK.
VERY IMPORTANT2: This PERL app worked quite well for two months, believe it or not!

In reply to My print and sprintf functions are stopped by mineiro

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.