Jump to content

Opening a Perl File


Recommended Posts

When I go to start, run, and type in C:\test.pl the file will open and run properly, but when I use this code:

$PID1 = Run(@ComSpec & " /c start " & "C:\test.pl")

I get the following error:

Use of uninitialized value in numeric lt (<) at C:\test.pl line 30

Link to comment
Share on other sites

The perl script runs when I double click it or if I run it from start->run, so I do not believe that it is the perl code.

The problem only happens when I try to run the script through autoit.

Any solutions?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...