Strange behavior on WIN-XP

2003-02-27 Thread Dennis G. Wicks
Greetings; I just started using XP, previously was using NT and now whenever a perl cgi runs I get a "command prompt" window on my screen. It generally just flashes on then disappears but it is bothersome and distracting. Is there any way to stop this? Oh yes, I am running Apache and it happens w

Strange Behavior?

2001-08-15 Thread James Kelty
Hello! Normally I would like to figure this out on my own, but I am working on the functionality of certain parts of this cgi instead. I am having trouble with the following code bit: #!/usr/bin/perl -w require("header.cgi"); require("footer.cgi"); use strict; use CGI qw/:standard/; my $cgi

Re: Strange Behavior

2001-06-29 Thread Maxim Berlin
Hello James, Friday, June 29, 2001, James Kelty <[EMAIL PROTECTED]> wrote: JK> I was wondering if someone could help me with the following code bit. It JK> is acting strangely. JK> if($ARGV[0] =~ m/^-l$|^-list$/i) { JK> print "What ports? (Press return after each port and CRTL-D when done.

Re: Strange Behavior

2001-06-29 Thread Brett W. McCoy
On Fri, 29 Jun 2001, James Kelty wrote: > I am trying to take "-l" or "-list" as a command line argument, but it > bombs out with this error when run. Perl, by default, will treat a command-line option as a file, so you also need to make sure you shift it off the @ARGV array if you are going to

Strange Behavior

2001-06-29 Thread James Kelty
I was wondering if someone could help me with the following code bit. It is acting strangely. if($ARGV[0] =~ m/^-l$|^-list$/i) { print "What ports? (Press return after each port and CRTL-D when done.)"; chomp(@getem = <>); print "Who do you wanna hit, Homie? "; chomp($peer = <>)