Re: pattern matching
From: Bob Walton (invalid-email_at_rochester.rr.com)
Date: 10/09/03
- Next message: Bob Walton: "Re: Rookie: HTML::TableExtract test will not print"
- Previous message: pkent: "Re: Sockets question"
- In reply to: Lex: "Re: pattern matching"
- Next in thread: Lex: "Re: pattern matching"
- Reply: Lex: "Re: pattern matching"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 09 Oct 2003 00:35:15 GMT
Lex wrote:
> "Bob Walton" <invalid-email@rochester.rr.com> wrote in message
> news:3F837912.5060402@rochester.rr.com...
>
...
> I know I can install perl on my windows machine, but I reckon for my scripts
> to run (at the end they have to work on a unix-like machine) with all the
> path info and stuff it's not worth testing them first on my machine and than
> upload and see that stuff doesn't work as it isn't a windows webserver...
...
> Lex
You are overestimating the changes required when running Perl on a Unix
versus Windoze platform. I, for example, have run everything associated
with your problem (and most all the others) on Windoze 98SE (I do boot
to Linux sometimes, but not usually because of Perl). The Perl
development folks have done a stellar job of making Perl as
OS-independent as possible -- for example, the / versus \ path seperator
issue is a non-issue internally in Perl -- Perl does what you mean. The
only important exception is with binary files -- you must use the
binmode() function when dealing with binary files on Windoze.
It is super easy to get and install Perl on a Windoze machine -- one
option is visiting http://www.activestate.com and downloading their
version of Perl. If you have an older version of Windoze, you may need
to also download the "Micro$loth Installer" first, but that is spelled
out in relatively clear instructions on the site. Within minutes of
completing the download you can have Perl up and going, complete with
all the standard modules and real nice HTML docs. The only caution is
to not install a newer version of Perl over top of an older version --
that doesn't seem to fly too well.
You will find it 1000% easier to debug your scripts on your local
machine than on someone else's remote web server. And you can install a
web server on your own computer to assist with debugging CGI scripts
when they are actually running in a CGI environment. Trust me, it will
save you gobs of time to take the time to install Perl on your local
machine.
-- Bob Walton Email: http://bwalton.com/cgi-bin/emailbob.pl
- Next message: Bob Walton: "Re: Rookie: HTML::TableExtract test will not print"
- Previous message: pkent: "Re: Sockets question"
- In reply to: Lex: "Re: pattern matching"
- Next in thread: Lex: "Re: pattern matching"
- Reply: Lex: "Re: pattern matching"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|