in reply to Perl 4 qx doesn't work

qx wasn't introduced until about 5.005, so it's no surprise that it doesn't work on Perl 4. Don't know about backticks. I've never used Perl 4 as it was replaced over seven years ago, long before I started using Perl.

Perhaps you could try system instead.

I'm interested in why you have to use Perl 4. As I said before, it is very out of date and was replaced with something far better over seven years ago. I believe there are still outstanding CERT security advisories against Perl 4, so using it is potentially very dangerous. Please upgrade to something more recent.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re: Re: Perl 4 qx doesn't work
by gtmeyer (Novice) on Dec 18, 2001 at 19:27 UTC
    Thank you, I will look at system. I have to use Perl 4 perl.exe as part of a Tivoli installation. My only other option would be to use Per2Exe to convert it, but the company won't buy it for me. I will look into the system command. Thank you!

      Sounds like someone should be getting in touch with IBM to find out why they're using a very out of date version of Perl then.

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg

        A few years down the line ...

        First day at a new client site and I have been asked to look at an IBM perl script written in 2003. It is in perl4 :( IBM are still putting the stuff out in the Tivoli world. Why oh why.

        Cheers,
        R.

        Pereant, qui ante nos nostra dixerunt!