how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I searched the FAQ but the reference I got, I didn't get, if you know what I mean. Can someone show me the code to link to the library mentioned in the subject line? Running SunOS 5.8. I got this from perl -V: Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I tried that as well as /tools/perl/bin/perl, which is 'which perl'. No go. -Larry -Original Message- From: Gordon Cabaniss [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:16 PM To: Larry Steinberg; [EMAIL PROTECTED] Subject: RE: how to link to libwww-perl-5.65 Larry

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
:20 PM To: [EMAIL PROTECTED] Subject: Re: how to link to libwww-perl-5.65 On Wed, Sep 11, 2002 at 02:06:22PM -0400, Larry Steinberg wrote: I searched the FAQ but the reference I got, I didn't get, if you know what I mean. Can someone show me the code to link to the library mentioned

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I just figured it out. I have to add the path to LWP to my .tcshrc @INC. What a knucklehead! Thanks. Larry Steinberg [EMAIL PROTECTED] (781) 466-2811 -Original Message- From: Michael Fowler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 3:20 PM To: [EMAIL PROTECTED

grab another param from url

2002-08-02 Thread Larry Steinberg
Hi, I have a subroutine that grabs a parameter (city) from the url for use in the script (which produces a report with the value of that parameter). I now want to grab another parameter (state) and append it to the previous and have it also appear in the report. Preferably it would look like

getting rid of box

2002-08-02 Thread Larry Steinberg
I have these coming up when creating a report: ma, BC: 1 bost, : 1 Montroyal, QC: 1 waltam, MA: 1 Quebec, QC: 1 booger, MA: 1 Franklinxxx, MA: 1 BOSTI, MA: 1 How do I rid the report of these boxes? -- -Larry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: getting rid of box

2002-08-02 Thread Larry Steinberg
before, and it usually a chomp or chop in the right place(s) of the routine that spins the data does the trick -Original Message- From: Larry Steinberg [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 11:58 AM To: [EMAIL PROTECTED] Subject: getting rid of box I have these c

Re: getting rid of box

2002-08-02 Thread Larry Steinberg
o:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 9:06 AM To: Larry Steinberg; [EMAIL PROTECTED] Subject: RE: getting rid of box How are you creating the report? If you are using some sort of print statement, what does it look like? Where is the data coming from? The boxes are non-printing ch

Re: getting rid of box

2002-08-02 Thread Larry Steinberg
Thanks. I'll give it a shot - Monday. 8-) Janek Schleicher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Larry Steinberg wrote at Fri, 02 Aug 2002 19:12:06 +0200: sub parseUrl { There are modules parsing urls. E.g.: use CGI qw/:standard/; $q =

how to grab a parameter from command line and do a search and replace in script

2002-08-01 Thread Larry Steinberg
Hi, First, thanks to all the gurus who've been so helpful to me in the past. Here's a new one... I have a script that creates a report of error codes from the access log. There are about a dozen different codes that are meaningful to us. I want to find a way to allow the user to run the script

Re: How to replace a literal with a variable

2002-07-31 Thread Larry Steinberg
lit each line on a pipe, then remove whitespaces at the beginning of the variable, then store it as a hash key. -Original Message- From: Larry Steinberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 10:17 AM To: [EMAIL PROTECTED] Subject: Re: How to replace a literal with a

How to replace a literal with a variable

2002-07-30 Thread Larry Steinberg
Hi, How can I replace the literal nlf with a variable in the code below? Thanks in advance. sub parseLogLine { $line = $_; %searchInfo = (); @searchInfo = split / +/, $line; # found any listings? $numListings = $searchInfo[8]; $numCategories = $searchInfo[10]; #

Re: How to replace a literal with a variable

2002-07-30 Thread Larry Steinberg
Here is what I need. I hope this explains it better. I have a script which creates a report for No Listings Found errors. I'd like to adapt it to create a report for any ERR code condition in the log. The errors and values are below. TIA! Error | Value city not in state | TSE ZIP not in