Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Cancel red alert, I am an idiot. I am consoled, somewhat, by the fact that the nice IT guy who installed Perl (I don't have the permissions) and who was helping me figure what on earth could be the problem with my Perl install didn't catch this, either.

I had a batch file in my directory. Called perl.bat. Created when I was trying to remind myself how to do batch files. Then forgotten.


sorry for the not-terribly-descriptive subject line, but I have no idea how else to sum this one up.

posted this to CB earlier, but I think this might be a bit too big/wierd a question for that forum...

OK guys, I have a rather bizarre problem. 2 computers, both running WinXP Pro, both with Strawberry Perl installed - one has 5.10.1 (laptop), the other 5.12.1 (desktop).

I developed a lovely little program on the laptop, it works like a charm. Copy it over to the other machine to run, type in the command "perl" ( code below) and the command window just displays the prompt and "perl" over and over and over until I hit the pause/break key. Hit ctrl-C, and it asks me if I want to terminate the batch job. Hit 'y', enter the command "perl -h" and it does the same thing - repeating the prompt and "perl" over & over.

Does anyone have any clue what might possibly be wrong?

Both the tlmProcessor and cmdProcessor routines have a simple print statement very early in the process along the lines of "I'm doing ___ now!". Neither of them ever prints.

#!/usr/bin/perl -w use strict; use warnings; #use Data::Dumper; #---------------------------------------------------------------# # subroutine files # #---------------------------------------------------------------# require ''; require ''; #---------------------------------------------------------------# # subroutine definitions # #---------------------------------------------------------------# sub tlmProcessor; sub cmdProcessor; #---------------------------------------------------------------# # Main Program # #---------------------------------------------------------------# print "Generating Handbook Files....\n"; tlmProcessor(); cmdProcessor(); print "Handbook complete!\n";
Swiss Army Nerd Idiot

In reply to One Bizarre Perl Problem by jedikaiti

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    [makita]: Need to sign more elements but all types I put in array are ignored. And is always signed only the body
    [Discipulus]: no makita sorry. i see in the synopsis of the module: "WARNING: Only limited real-life experience" might be better compose a SOPW with some code example and data
    [Discipulus]: ..or inspect the source code of the module
    [makita]: I am doing this:
    [makita]: my $sig = $wss->signature( schema => $wsdl, token => $token, sign_types=>'wsa: Action','wsa:To', 'wsu:Timestamp', 'wsa:MessageID',' SOAP-ENV:Body', signer=>DSIG_RSA_S HA1, public_key => $cert,
    [Corion]: Oof, I haven't done much with signing SOAP requests. markov is usually somebody good to ask via mail ;)
    [makita]: I need to create a SOAP call where are signed more types not only the body
    [makita]: I am inspecting it second day :)
    [makita]: Thanks
    [Discipulus]: better to ask a full SOPW

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (11)
    As of 2017-03-23 08:45 GMT
    Find Nodes?
      Voting Booth?
      Should Pluto Get Its Planethood Back?

      Results (285 votes). Check out past polls.