Regex or code sample to split a text line

2002-03-22 Thread Oliver Andrich
Hi, I am currently stuck with developing an elegant solution for splitting a long text line into an array of strings of the certain maximum length and it should be split at online at word bounderies. So, my criterias are max length (78 chars) and split at \b. Is there any standard routine to

Re: DNS lookup

2002-03-19 Thread Oliver Andrich
Hi, whats wrong with using gethostbyaddr from the Socket package? A lot easier, faster and slicker. Have you looked at this? perldoc -f gethostbyaddr use Socket; sub dnsLookup { my $ip = shift; $iaddr = inet_aton($ip); # or whatever address $name = gethostbyaddr($

Re: database recommendations?

2002-03-05 Thread Oliver Andrich
Hi, I use both. My decision which to use in what projects is solely based on "performance vs. feature" comparisons. Where I need transactions, subselects (no complaint about this, I find sometimes problems where I need them) and all this, and on the other hand, my application is _not_ purely

Re: querying DNS

2002-03-05 Thread Oliver Andrich
> 1. loop over an array of hostnames and resolve them each with a call > gethostbyname gethostbyaddr is what you want. sorry. > 2. use Net::DNS and do a named xfer for the domain all the servers are in > and afterwards grep through the results for the hosts you actually need. > >Perform

Re: querying DNS

2002-03-05 Thread Oliver Andrich
Hi, you have several options: 1. loop over an array of hostnames and resolve them each with a call gethostbyname 2. use Net::DNS and do a named xfer for the domain all the servers are in and afterwards grep through the results for the hosts you actually need. Perform a zone transfer a

Re: Problem w/ Module Installation

2002-02-25 Thread Oliver Andrich
> personally I would extract the archive in the perl lib path, but > somewhere else, cause nmake install we do the required magic to install > the stuff. And now in more or less correct english. ;) I wouldn'd extract the source package in the lib path but somewhere else. nmake install will do t

Re: Problem w/ Module Installation

2002-02-25 Thread Oliver Andrich
Hi Thomas, > I am attempting to install a module on a Win2K machine using Active State > Perl v5.6.0 build 615. > > I decompress the module and extract its contents to a new folder in > \perl\site\lib. Then in the command prompt I 'cd' into that new > directory and type 'perl makefile.pl' --eve

Re: Reporting Modules

2002-02-24 Thread Oliver Andrich
Hi, > Are there any reporting features built into Perl for > standardized reporting? you mean something like a report generation facility? Look into formats which can be used for nice report generation. Best regards, Oliver -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Book suggestion

2002-02-22 Thread Oliver Andrich
Hi, I would suggest going for the O'Reilly Books. Best choice in my eyes. Best regards, Oliver -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]