×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Perl from Unix to Win98

Perl from Unix to Win98

Perl from Unix to Win98

(OP)

I have a script that works perfect on unix. I want to make some changes and I want to do in Win98 using active perl. I tried to run the script but I get nothing except

content type text/html when I type perl myscript.pl. As far as the browser goes, nothing comes up on the screen.

Can you help

RE: Perl from Unix to Win98

Might help a bit to see the script or know what its supposed to print. "content type text/html" is the usual start of web page, which'd mean the script hasn't any typos or missing modules but whatever its supposed to do next doesn't return output. The browser (look at the source view) is correct for this output.

Next step is to stick a bunch of prints in there and see where you're failing.
if you do:
my $debug = 10;
and then

print "Just did foo\n" if $debug > 5;
print "attempting bar: val1: $val1, val2: $val2\n" if $debug > 7;

sort of debugging statements, you can leave them in as you get it to work and choose your level of debugging info to see for any particular run.

Good luck.

a

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close