Paul Johnson wrote:
On Thu, Dec 26, 2002 at 04:39:30PM -0500, Kipp, James wrote:
Happy Hollidays
I want to bitwize AND 2 IP adr strings, not sure of how to pack() them to be
able to AND them. before i start playing with pack,sprintf,socket,etc.. I
was wondering if someone already had a way.
you could use Msql-Mysql-modules ( only thing is it requires some
source files of the database for make )
Or you could use the not-so-friendly but generic DBI look for some
good examples on the web for starters look at
http://www.saturn5.com/~jwb/dbi-examples.html
Michael Teter w
Hello all ,
I have been using mysql as a database and Mysql.pm helped me do most
of the work easily. Now If my database changes to oracle ( which it
probably would ) then will I have to rewrite all the code.
I just looked at DBI and found them to be too much of a bother using
such a modul
Hi
I am trying to configure the mozilla tinderbox on a unix machine.
In order to execute a query , I am using the Berkeley DB and DB_File
modules.
I am getting the following error message :
cvstest:/usr/local/lxr # perl search
DB_File object version 1.806 does not match bootstrap parameter 1.80
Hi,
I'm going to take this from here, rather than go on to the full code, because I think
I see the core of the problem here. The foreach just isn't going to do it for what
you want, although you maight call it on one of the hashes. You don't really indicate
whether there is supposed to be an
HI Randal,
Although not in the Perl culture, I have indeed seen a great deal of cargo cult
thinking in my years, and I fully agree that such consciousness is a Very Bad Thing.
On a quick skim of lwpcook, I would also tend to agree that this is a good source of
first reference to those utilities
Seems like removing the quotes from
TEMPFILE and SIZE did the trick.
Thanks Kipp and Paul.
If anyone wants the full sub leme know off-list.
Scot
-Original Message-
From: Scot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 4:32 PM
To: Beginners Perl
Subject: Using whi
oo it worked, cheers :)
dan
"Peter Scott" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Dan) writes:
> >I need my program to resolve hosts to IP's, and vice versa. I came across
> >the Net::DNS module on C
On Thu, Dec 26, 2002 at 04:31:30PM -0500, Scot wrote:
> Trying to write a file monitor for temp files using a while loop.
> The problem is that the file test does not seem to be re-evaulated
> each loop. If I delete the file after the loop has started it
> drops into the. SHRUNK test. I would
On Thu, Dec 26, 2002 at 04:39:30PM -0500, Kipp, James wrote:
> Happy Hollidays
>
> I want to bitwize AND 2 IP adr strings, not sure of how to pack() them to be
> able to AND them. before i start playing with pack,sprintf,socket,etc.. I
> was wondering if someone already had a way.
$ perl -e 'prin
Lance
I'm not sure exactly what you're trying to do. I don't have a copy of the
book, but it's clear that the file is prescibed to have standard scalars
alone on each line with no whitespace except the line terminator.
See in line.
"Lance Murray" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTE
> The problem is that the file test does not seem to be re-evaulated
> each loop. If I delete the file after the loop has started it
> drops into the. SHRUNK test. I would think it would drop out of the
> while loop.
>
> while ( -e $tfile ) {
> $SIZE = (-s "$TEMPFILE") /1024;
>
Hi;
Trying to write a file monitor for temp files using a while loop.
The problem is that the file test does not seem to be re-evaulated
each loop. If I delete the file after the loop has started it
drops into the. SHRUNK test. I would think it would drop out of the
while loop.
while (
Happy Hollidays
I want to bitwize AND 2 IP adr strings, not sure of how to pack() them to be
able to AND them. before i start playing with pack,sprintf,socket,etc.. I
was wondering if someone already had a way.
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Hi.
Does anyone have any recommendation on module(s) to
use to gain full access to MS SQL Server from Perl
(running on BSD or Linux)?
On CPAN I see a few MS SQL Server entries, and quite a
few Sybase entries. Which one(s) should I use?
I need a reliable interface to the database server,
includi
If you can get the date as stated, I think you would be better off
taking that date and coming up with seconds from your header and then
compare against the current day - 30 days. Your test for what I assume is
alphanumeric month(ie, Apr, May, etc) would not work as you expect.
SO
Hello:
I'm trying to work through the "Learning Perl" Llama book, but I'm a bit
stumped on one of the regex exercises (ch 8.6 #3). The solution at the back of
the book doesn't work if you don't presume anything for input.
Anyway, what the book asks is to write a regular expression that will pars
I have a Perl script that uses LWP::Simple and downloads several web pages
every day and saves them to my hard drive under the task manager in Windows
98. I'm trying to move it to Mac OS X. I've got it to run manually there,
but when I run it under cron, it acts as if the "Use LWP::Simple" comman
What's the best (and easiest to use) SMS module available? Any ideas?
All help appreciated.
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Stop sending me email
Stop sending me email
Hi people ...
I need to erase e-mails based in their dates, when a mail is one month
old I need to erase it or move it to another folder ... but I don't know
if I could do operations like :
use Mail::Box::Manager;
$mgr = Mail::Box::Manager->new;
$inbox = "/var/spool/mail/marcelo";
$folder = $mgr
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Wendy Stewart) writes:
>Hi,
>
>Help!! I'm a new Perl user and have devloped my first Perl script to
>extract fields from a Remedy form into a CSV file to be ftp'd elsewhere. I
>need to sort each record on Modified-date before writing to my outp
> -Original Message-
> From: Jensen Kenneth B SrA AFPC/DPDMPQ
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 26, 2002 9:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: Formatting output
>
>
> Accidentally sent before I was done writing.
>
> I am trying to iterate through two hashes a
Wasn't really clear what I was trying to accomplish. Basically I am trying
to iterate through 2 hashes at the same time so I can print 1 key / value
pair from each hash on the same line. Repeating through each hash. Making
things more complicated I am forced to use perl4 with no libraries, so I
can
Accidentally sent before I was done writing.
I am trying to iterate through two hashes and print each key/value. In one
column the key/value from one hash and another column the key/values of the
other hash. So the output would look something like this
Some header |header for column
I am trying to iterate through two hashes and print each key/value. In one
column the key/value from one hash and another column the key/values of the
other hash. So the output would look something like this
Some header |header for column 2
Key value key value
Key
28 matches
Mail list logo