in reply to Re^6: How Do I Get Batch Input to Work in DOS?
in thread How Do I Get Batch Input to Work in DOS?

When you do a "set per" what do you get on your screen?

Exactly the same as you: Environment variable per not defined. There are a whole bunch of PERL* environment vars that can be used to influence its behaviour for particular purposes, and I was recently caught out by one, hence the ask.

But in the normal way of things, I only define them when I have a particular need, and on a session by session basis so that they 'go away' of their own accord naturally. I never add them to the master environment.

my perl install came from Active Perl which was included and installed from IBM's rational clear case product.

You could try installing a newer version direct from AS. It's possible that IBM have monkeyed with the distribution version.

(I hate suggesting that unless I have a realistic idea that it might actually fix something. In this case I have no such expectation.)

It always put me in mind of first-level support for satellite dishes & and ADSL modems.

"Have you tried switching it off for 30 seconds and back on again?". Oh no, I only switched it off for 25 seconds. Will it make a difference?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^8: How Do I Get Batch Input to Work in DOS?
by jmk2012 (Initiate) on Mar 05, 2012 at 18:30 UTC
    Equipped with the ideas that flowed from your request for "set per", fate took me to the Active State website where a posting from 2007 shows that this problem existed even then. Any suggested fixes from that discussion were 'work arounds' that did not work for me. (ie, 'perl file.ps | perl file2.ps') As for your suggestion to get a more recent version, configuration management requirements cause me to stick to this version (5.8) of perl. Other folks suggestions to include a routine for an input file are likely the next best route. Thank you for your help Brother BrowserUK Benedicat tui Deus
      (ie, 'perl file.ps | perl file2.ps')

      .ps ?? As I recall, your assoc output listed .pl. Or is that just a typo?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?