Re: Simulating the query string from the command line

2002-12-25 Thread R. Joseph Newton
Thanks Todd, I guess I just needed to know it could be done. I'm not eager to take on the overhead of a new package right now--see my response to Randal: "Re: Fw: HTTP Requests" [Mon, 23 Dec 2002 20:29:32 -0800], but knowiong it could be done led me to this formualation: sub ParseQueryLine {

Re: OSX Perl

2002-12-25 Thread Wiggins d'Anconia
Looks correct. You may not have the proper line endings in your script which has been known to cause problems on OS X. I copied and pasted what you had into a file and it ran as normal, I use vim installed through fink on my 10.2.3 laptop. The "return" line would be incorrect though. http://da

OSX Perl

2002-12-25 Thread David Gilden
Here's a quick question: #!/usr/bin/perl -w use strict; print "Hello, Perl!\n"; # return "Hello, Perl!\n"; # tried this as well bash2.05a % perl Hello\ World.pl > test-hello.txt bash2.05a % bbedit test-hello.txt test-hello.txt is empty, what did I miss? Thanks! Dave ==

Re: Simulating the query string from the command line

2002-12-25 Thread Chander Ganesan
I generally do the following: 1. Create a shell script that executes a "set" (which prints out the environment) and redirects it to a file. That allows you to then create a shell script which makes your environment *exactly* match the environment set by the web server when you do a query. 2. R

Re: problem with Net::FTP and Netgear FVS318 firewall

2002-12-25 Thread linc1234
Thanks Mark. I send a pasv command before doing the ls command and still have problems. Is there potentially a problem in that I am using dynamic dns? The ftp server I am using is GuildFTP. Maybe my problem is with my dynamic dns? Thanks, Lincoln - Original Message - From: "Mark Golan

Re: creating a mysql table with perl

2002-12-25 Thread Jerry Rocteur
Hi Tricia, I just did: perldoc -q data base And found: Found in /System/Library/Perl/pods/perlfaq8.pod How do I use an SQL database? There are a number of excellent interfaces to SQL databases. See the DBD::* modules available from http://www.perl.com/CPAN/module