Re: First Steps Perl DB programming (was: Re: first steps - read from files and make linklist)

2003-12-04 Thread R. Joseph Newton
Jonathan Jesse wrote: > Sorry for being off topic. I am slowly trying to learn the basics and > then eventually move over to the work on the SQL side of things. Thanks > for the idea for the book, I'll look into that along with the > documentation. Very good strategy. One study at a time. Lea

Re: Beta Testing a Robot

2003-12-04 Thread R. Joseph Newton
Casey West wrote: > I'm beta-testing a robot that searches Google when new questions are > posed to the beginners' lists. I have no idea if it will be useful. > :-) > > I'm going to watch it closely and hope it is. I'll remove it if I > find that it does a bad job. > > Casey West Hi Casey, I

Re: Beta Testing a Robot

2003-12-04 Thread drieux
On Dec 4, 2003, at 8:41 PM, R. Joseph Newton wrote: Guay Jean-Sébastien wrote: ... Though it doesn't benefit those who didn't post the question (and answers seldom do, since people who can answer questions normally don't need the answers), I would not assume that at all. Programming is an extremel

Re: Beta Testing a Robot

2003-12-04 Thread R. Joseph Newton
Guay Jean-Sébastien wrote: > ... > Though it doesn't benefit those who didn't post the question (and answers > seldom do, since people who can answer questions normally don't need the > answers), I would not assume that at all. Programming is an extremely open-ended art and set of skills. I thi

Fwd: Pattern matching

2003-12-04 Thread drieux
Begin forwarded message: From: drieux <[EMAIL PROTECTED]> Date: December 4, 2003 8:11:46 PM PST To: "B. Fongo" <[EMAIL PROTECTED]> Subject: Re: Pattern matching On Dec 4, 2003, at 7:09 PM, B. Fongo wrote: sub select_newer { my (@remote_packages, @installed_packages); (@remote_packages,

Pattern matching

2003-12-04 Thread B. Fongo
Hi I'm writing a script that will connect to an ftp server (Redhat mirror), and download new versions of all packages that are on my machine. First of all, the script collects information about all the packages installed on my machine in an array (installed_packages). Then its goes on to get a

Reduce file size with Imager

2003-12-04 Thread Eamon Daly
Hi, all. I'm using Imager to create gifs, but the resultant file sizes are /huge/. I'm writing the files out like so: $img->write(type => 'gif', max_colors => 16, gif_eliminate_unused => 1, data => \$data) or die $img->errstr; I've verified that

[REBUILT] Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Chuck Fox took the soap box, saying: : Casey, : : I would like to chime in on the side of sending the search results : directly to the poster. In most cases, the poster is at the mercy of : the search engine they choose. Whereas, you have the advantage of

Re: Beta Testing a Robot

2003-12-04 Thread Chuck Fox
Casey, I would like to chime in on the side of sending the search results directly to the poster. In most cases, the poster is at the mercy of the search engine they choose. Whereas, you have the advantage of knowing where to search. Please do not abandon this work. A digest -- to which, o

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
Very interesting... Running this script it dies at the 800MB attempt. However, watching this process in top, memory usage is actually double the amount that is being tested. In top, the last memory amount prior to it dying is 1400MB. Scott Nipp Phone: (214) 858-1289 E-mail: [EMAIL PRO

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
Nope... No /dev/zero either in 11i. Scott Nipp Phone: (214) 858-1289 E-mail: [EMAIL PROTECTED] Web: http:\\ldsa.sbcld.sbc.com -Original Message- From: Bakken, Luke [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 1:25 PM To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTE

RE: 64 bit Perl memory test...

2003-12-04 Thread david
Scott V Nipp wrote: > Will this tell me how much memory is used at the point of failure? no, it does not. you will have to do that manually. either watch the script in top or ps or write something like: #!/usr/bin/perl -w use strict; my $m = 1024 * 1000; my $i = ''; for($m * 100, $m * 200, $m

RE: Finding Hosts On Lan - Re: hostname

2003-12-04 Thread Bob Showalter
drieux wrote: > On Dec 4, 2003, at 8:18 AM, Bob Showalter wrote: > > Thomas Browner wrote: > > > Is there away to find all of the hostname on a lan with > use of perl? > [..] > > You can query DNS to get the hosts in a domain using nslookup, dig, > > host, or similar. For example: > > > >host

Finding Hosts On Lan - Re: hostname

2003-12-04 Thread drieux
On Dec 4, 2003, at 8:18 AM, Bob Showalter wrote: Thomas Browner wrote: Is there away to find all of the hostname on a lan with use of perl? [..] You can query DNS to get the hosts in a domain using nslookup, dig, host, or similar. For example: host -l mydomain.com If you want to talk to the r

RE: using perl in a c code

2003-12-04 Thread Dan Muey
> Dan Muey wrote: > > > > On Dec 1, 2003, at 6:22 AM, Ramprasad A Padmanabhan wrote: [..] > > > > Instead Can I just embed this perl code in my c > program I will be > > > > happy if someone can give some links to examples > > > on the net > > > > > >

RE: using perl in a c code

2003-12-04 Thread Dan Muey
> On Wed, Dec 03, 2003 at 05:17:01PM -0600 Dan Muey wrote: > > > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also! > > In order to make your C code more portable across several > versions of the perlapi, you could use Devel::PPPort. > > perl -MDevel::PPPort -eDevel::PPPort::WriteFil

RE: using perl in a c code

2003-12-04 Thread Dan Muey
> On Dec 3, 2003, at 3:17 PM, Dan Muey wrote: > [..] > > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also! > > just wait until you have to remember, > > did this work with gcc2.X or only with gcc3.Y... > and how exactly did I get it to build for the DogBertOS??? > > Before yo

RE: using perl in a c code

2003-12-04 Thread Dan Muey
> Dan Muey wrote: > > [snip] > > > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also! Great! > > Awesome! Perfect! One little catch now is it'd be nice to just do > > ./test or ./test name=value&name2=val2 instead of ./test -e '' > > Or ./test > > > > this can easily be solve by addin

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> Will this tell me how much memory is used at the point > of failure? See code. > > Unfortunately, there is no /dev/random in HP-UX. But there is a /dev/zero use strict; $|++; my $mem; my $bigbuf; my $buf; open IN, '/dev/zero' or die "Can't open random device: $!"; while( $mem += read(I

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
Will this tell me how much memory is used at the point of failure? Scott Nipp Phone: (214) 858-1289 E-mail: [EMAIL PROTECTED] Web: http:\\ldsa.sbcld.sbc.com -Original Message- From: david [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 1:11 PM To: [EMAIL PROTECTE

RE: 64 bit Perl memory test...

2003-12-04 Thread david
Scott V Nipp wrote: > Unfortunately, there is no /dev/random in HP-UX. fortunately, you don't need /dev/random. any of the following should eat up all of your machine's memory sooner or later: [panda]# perl -e '$#a={}' [panda]# perl -e '$a[{}]=1' [panda]# perl -e '$#a+=0x while 1' [panda]#

Fix the Root Problem - Re: Beta Testing a Robot

2003-12-04 Thread drieux
On Dec 4, 2003, at 7:23 AM, Christopher G Tantalo wrote: [..] This does seem like a good idea, but for some of us who can not access the web from work, this just makes it worse. [..] Personally I am neutralish in this debate about the bot, but I think that Christopher has put the scary part on the

RE: 64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
Unfortunately, there is no /dev/random in HP-UX. Scott Nipp Phone: (214) 858-1289 E-mail: [EMAIL PROTECTED] Web: http:\\ldsa.sbcld.sbc.com -Original Message- From: Bakken, Luke [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:36 AM To: NIPP, SCOTT V (SBCSI); [EM

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) : : I'm going to watch it closely and hope it is. I'll remove it if I

RE: remove control chars

2003-12-04 Thread Tom Kinzer
Hah! I'm unemployed right now, so how about a contract?!? ;) --Tom Kinzer --Perl Gun for Hire-- -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 8:56 AM To: [EMAIL PROTECTED] Subject: Re: remove control chars James Kipp wrote: > > I have so

RE: Beta Testing a Robot

2003-12-04 Thread Tom Kinzer
I also admire the effort and the good intentions, but, I think most Perl programmers can handle a Google search, and the bot just creates unnecessary traffic on the list. At a minimum, it should only send to the original poster, not the whole list. my $2Cents; -Tom Kinzer -- To unsubscribe

Re: remove control chars

2003-12-04 Thread Rob Dixon
James Kipp wrote: > > I have some C code that I need to convert to perl > and I am pressed for time, which is why I am posting this. Erm. Sorry to spoil the party an' all, but the answer is surely to go to your management and say that you need extra time? Many homework questions to the group have

RE: Beta Testing a Robot

2003-12-04 Thread Shaw, Matthew
My $0.02 on this: While it may be a worthwhile personal pursuit to write a script that provides relevant results from google based on the text of someone's email/news posting/etc, I don't think this is the forum for it. These are very busy lists to start with and this essentially will result in do

RE: Beta Testing a Robot

2003-12-04 Thread Bob Showalter
Casey West wrote: > I'm beta-testing a robot that searches Google when new questions are > posed to the beginners' lists. I have no idea if it will be useful. I'm not thrilled with the bot traffic, but at least it can be easily filtered out now. Perhaps the bot should only address questions that

RE: Beta Testing a Robot

2003-12-04 Thread Guay Jean-Sébastien
> and may very quickly become > outdated, then the amount of crud someone must wade through if they are > one of the few that actually check the archive first has gone up greatly. You've got a good point there. I didn't see it from that point of view, but now that I do, I agree that this is not re

Re: Beta Testing a Robot

2003-12-04 Thread Christopher G Tantalo
Casey West wrote: I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove it if I find that it does a bad job. Casey West This does seem like a good id

RE: Perl and MS Access

2003-12-04 Thread Thomas Bätzler
Hello Shaunn, > I think I've seen it, but I don't know where - > > Isn't there a method to use Perl to connect to > some MS Access database and extract the > data into some other format (say, text). That works fine with the DBD::ODBC module. If you have got large records in the database, you sho

RE: Compile help...

2003-12-04 Thread Bakken, Luke
> I am trying to compile a 64bit Perl with Largefiles > support. I am > seeing the following error during the 'make test'. Any help > would be most > appreciated. This is version 5.6.1 on HP-UX 11i. The > compile is being > performed with the HP ANSI C compiler. > > lib/syslfs

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> how they were monitoring and/or determining this. Basically, > I would like > help with a Perl test script to use memory until Perl reaches > it's memory > limit. This will help me to know when I have things right so > I don't have > to keep going back to the end users and tell them "OK, try

[First Response Service] Re: Compile help...

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Re: hostname

2003-12-04 Thread Helgi Briem
Thomas Browner wrote: > Is there away to find all of the hostname on a lan with use of perl? Portable to most systems: use Sys::Hostname; my $host = hostname; or (on Windows systems): my $host = $ENV{COMPUTERNAME}; or (on *nix systems): my $host = $ENV{HOSTNAME}; -- Helgi Briem Tæknideild

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) I should like to make an important note. This bot is not intended to de

Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Bakken, Luke took the soap box, saying: : > It was Thursday, December 04, 2003 when Bakken, Luke took the : > soap box, saying: : > : > how they were monitoring and/or determining this. Basically, : > : > I would like : > : > help with a Perl test script t

RE: hostname

2003-12-04 Thread Bob Showalter
Thomas Browner wrote: > Is there away to find all of the hostname on a lan with use of perl? Getting a list of host names involves querying some kind of nameserver or directory service. What kind of LAN? What kind of hosts? You can query DNS to get the hosts in a domain using nslookup, dig, host,

64 bit Perl memory test...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
I have been asked to get a 64bit version of Perl compiled and working under HP-UX 11i. I have found some helpful hints on actually compiling this successfully. The reason for the 64bit version is memory utilization. My users have a script that processes an Oracle database of about 15 mil

RE: Beta Testing a Robot

2003-12-04 Thread Guay Jean-Sébastien
> I don't quite understand why the first response is sent back to the list > rather than just the OP though? Why do you send your responses (answers to questions) to the list instead of to the OP? So that others can benefit, and so that it will be in the list archives when someone else has the sam

[First Response Service] Re: hostname

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

hostname

2003-12-04 Thread Thomas Browner
Is there away to find all of the hostname on a lan with use of perl? Thanks, Thomas

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Wiggins d Anconia took the soap box, saying: : : : > It was Wednesday, December 03, 2003 when Casey West took the soap box, : saying: : > : I'm beta-testing a robot that searches Google when new questions are : > : posed to the beginners' lists. I have no

RE: Beta Testing a Robot

2003-12-04 Thread Wiggins d Anconia
> > I don't quite understand why the first response is sent back to the list > > rather than just the OP though? > > Why do you send your responses (answers to questions) to the list instead of > to the OP? So that others can benefit, and so that it will be in the list > archives when someone el

Re: First Steps Perl DB programming (was: Re: first steps - read from files and make linklist)

2003-12-04 Thread Jonathan Jesse
Sorry for being off topic. I am slowly trying to learn the basics and then eventually move over to the work on the SQL side of things. Thanks for the idea for the book, I'll look into that along with the documentation. On Wed, 3 Dec 2003 13:01:54 -0700, Wiggins D Anconia <[EMAIL PROTECTED]>

Re: Beta Testing a Robot

2003-12-04 Thread Wiggins d Anconia
> It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: > : I'm beta-testing a robot that searches Google when new questions are > : posed to the beginners' lists. I have no idea if it will be useful. > : :-) > > I should like to make an important note. This bot is not

RE: 64 bit Perl memory test...

2003-12-04 Thread Bakken, Luke
> It was Thursday, December 04, 2003 when Bakken, Luke took the > soap box, saying: > : > how they were monitoring and/or determining this. Basically, > : > I would like > : > help with a Perl test script to use memory until Perl reaches > : > it's memory > : > limit. This will help me to know

[First Response Service] Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Re: 64 bit Perl memory test...

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Bakken, Luke took the soap box, saying: : > how they were monitoring and/or determining this. Basically, : > I would like : > help with a Perl test script to use memory until Perl reaches : > it's memory : > limit. This will help me to know when I have th

Compile help...

2003-12-04 Thread NIPP, SCOTT V (SBCSI)
I am trying to compile a 64bit Perl with Largefiles support. I am seeing the following error during the 'make test'. Any help would be most appreciated. This is version 5.6.1 on HP-UX 11i. The compile is being performed with the HP ANSI C compiler. lib/syslfs..skipped: writing

Re: Perl and MS Access

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Perl and MS Access

2003-12-04 Thread Johnson, Shaunn
Howdy: I think I've seen it, but I don't know where - Isn't there a method to use Perl to connect to some MS Access database and extract the data into some other format (say, text). I've done it with Oracle and PostgreSQL ... I don't know if MS Access is too different (mostly because I live and

RE: Databases - MS Sql Server Desktop Engine

2003-12-04 Thread Jenda Krynicky
From: "Paul Kraus" <[EMAIL PROTECTED]> > I can't figure out how to connect to the database engine with odbc. It's easiest if you first create a DNS using the "Data Sources (ODBC)" applet in "Administrators tools". Se the docs of DBD::ODBC for examples how to connect then. Jenda = [EMAIL PRO

RE: Timing several processes

2003-12-04 Thread Akens, Anthony
AIX 5.1, actually. Though eventually linux, windows, and possibly other OS's will be in the mix. I'm writing this with the idea of it being very "modular" in that each server will do it's own "check" ever 15 minutes or so, and that the webserver will only "connect" and grab that data when someone

RE: remove control chars

2003-12-04 Thread Bob Showalter
Kipp, James wrote: > Doesn't quite work. Notice I need to keep any newline ( "\n" ) chars. Sorry, I missed that in the original post. Jeff gave you the fix. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Send in POST method

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice, legal API for s

Send in POST method

2003-12-04 Thread max4o
Hi all, my simple question is, is there a package that can help me to open URL and send parametters via POST method, not with GET? Thanks. Milen H. - This mail is from: <[EMAIL PROTECTED]> - -- To unsubscribe, e-mail: [EMAIL

Re: using perl in a c code

2003-12-04 Thread Tassilo von Parseval
On Wed, Dec 03, 2003 at 05:17:01PM -0600 Dan Muey wrote: > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also! In order to make your C code more portable across several versions of the perlapi, you could use Devel::PPPort. perl -MDevel::PPPort -eDevel::PPPort::WriteFile will create pp