Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

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

Wow... that's awesome! Thank you VERY much!

Worked great on my Windows test box using ActivePerl... but I get compile errors on the 'Nix server that I need to run it on (am only a tenant, not an admin etc. so no option of upgrading)... so I strongly suspect I'm coming across Perl versioning issues. Version on the server is "This is perl, v5.8.8 built for sun4-solaris" - which I suspect isn't compatible with something you've used in this script?

Bareword found where operator expected at line 44, near " +/= do { /Order" (Missing operator before Order?) Use of /c modifier is meaningless without /g at line 45. Bareword found where operator expected at line 45, near " +/= do { /cycle" (Missing operator before ycle?) Bareword found where operator expected at line 46, near " +/= do { /Vendor" (Missing operator before Vendor?) syntax error at line 44, near "/= do { /Order ID" syntax error at line 45, near "/= do { /cycle" syntax error at line 46, near "/= do { /Vendor ID" Unmatched right curly bracket at line 46, at end of line syntax error at line 46, near "$1 }" had compilation errors.

Note - this compiles and runs without issue on ActivePERL on my PC, as I'm sure it did on yours///

Any suggestions on reading I should do to work out how best to fit this into the version of Perl on the server?

Sorry to be a pain... you're being extremely helpful, and I'm being nothing but more problems lol

In reply to Re^8: How best to strip text from a file? by bobdabuilda
in thread How best to strip text from a file? by bobdabuilda

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
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (3)
    As of 2018-07-23 04:32 GMT
    Find Nodes?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

      Results (459 votes). Check out past polls.