Petr Vileta:
> Dr.Ruud:
>> Petr Vileta:
>>> $data1 =~ s/[^\d,.]//sg;
>>
>> Prepare for the future: \d matches more than [0-9].
>
> Huh? My O'Reilly book "Programming in Perl" say
> \d digits, the same as [0-9]
>
> Is some new in Perl since year 1997? ;-)
Unicode, see `perldoc perl
---8<
I am getting an error with OLE on trying to open a file and create it.
do
these have to be done separately? if so, what is the correct way?
---8<
No they don't. From
file:///C:/Perl/html/faq/Windows/ActivePerl-Winfaq12.html you get this:-
use strict;
use W
- Original Message -
From: "Dr.Ruud" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 08, 2006 1:26 PM
Subject: Re: String formatting
Petr Vileta schreef:
$data1 =~ s/[^\d,.]//sg;
Prepare for the future: \d matches more than [0-9].
Huh?
My O'Reilly book "Programming in Perl" s
Petr Vileta schreef:
> $data1 =~ s/[^\d,.]//sg;
Prepare for the future: \d matches more than [0-9].
--
Affijn, Ruud
"Gewoon is een tijger."
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveSta
[EMAIL PROTECTED] wrote:
> Dear Bowie,
>
> Sorry, splice won't do what I need--it deletes from the array, then
> replaces the deletion. I need insertion.
>
> Thanks just the same.
No, it can do that too.
To insert an element at index 1, do this:
splice(@array, 1, 0, 'a');
--
Bowie
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 08 March 2006 16:55
To: activeperl@listserv.ActiveState.com
Subject: Trouble with File::Slurp - ing into a hash
> Wizards,
>
> I'm trying to borrow a page from perl.com's "Perl Slurp-Eze" piece by
Guttman
> (
[EMAIL PROTECTED] wrote on 03/08/2006 11:52:39
AM:
> Today's Topics:
>5. Inserting into an array? ([EMAIL PROTECTED])
>6. RE: Inserting into an array? (Brian Raven)
> --
> Message: 6
> Date: Wed, 8 Mar 2006 16:28:22 -
The Net:FTP class is easy to use.
Curtis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Craig
Cardimon
Sent: Thursday, June 24, 2004 7:03 AM
To: [EMAIL PROTECTED]; perl-win32-users@listserv.ActiveState.com
Subject: FTP script
I need to write a script tha
Jason Gerfen <> wrote:
> Bowie Bailey wrote:
>
>> Jason Gerfen wrote:
>>
>>
>>> Bowie Bailey wrote:
>>>
>>>
Jason Gerfen wrote:
> Bowie Bailey wrote:
>
>
>> Jason Gerfen wrote:
>>
>>
>>> I am looking to do something which I am not sure perl can
Wizards,
I'm trying to borrow a page from perl.com's "Perl Slurp-Eze" piece by Guttman (http://www.perl.com/lpt/a/2003/11/21/slurp.html). What I'm trying to do is adapt the following for my data:
my $text = read_file( $file );
my %config = $text =~ /^(\w+)=(.+)$/mg;
my data files consist of a
[EMAIL PROTECTED] wrote:
> It'd be nice if I could use File::Slurp to "burp" my processed file
> array back to disk, but there's a small snag. At some points, during
> some runs, new data would need to be inserted into the array, to
> mimic the current process, which runs something like this...
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 08 March 2006 15:06
To: activeperl@listserv.ActiveState.com
Subject: Inserting into an array?
> It'd be nice if I could use File::Slurp to "burp" my processed file
array back to disk, but there's a small
> snag
Jason Gerfen wrote:
> Bowie Bailey wrote:
> > Jason Gerfen wrote:
> >
> > > Well I am 'attempting' to write a simple perl daemon that will
> > > listen or 'tail -f /var/log/messages' for any iptables log which
> > > matches a 'DROP'ed packet.
> >
> > That's simple enough. Just follow my code ab
I am getting an error with OLE on trying to open a file and create it. do
these have to be done separately? if so, what is the correct way? I don't
have the luxury of a machine I can be detrimental to while experimenting.
the following is the header of my code, where I try to open the file and
It'd be nice if I could use File::Slurp to "burp" my processed file array back to disk, but there's a small snag. At some points, during some runs, new data would need to be inserted into the array, to mimic the current process, which runs something like this...
# process @htm_rows[$x]
print $OU
Bowie Bailey wrote:
Jason Gerfen wrote:
Bowie Bailey wrote:
Jason Gerfen wrote:
Bowie Bailey wrote:
Jason Gerfen wrote:
I am looking to do something which I am not sure perl can do.
I would like to be able to issue a system command ex. tail -f
/file and lo
Original Message:
>--
>Date: Tue, 7 Mar 2006 12:51:39 -0800 (PST)
>From: "Mary Anderson" <[EMAIL PROTECTED]>
>Subject: Performance Degradation of ActivePerl CGI script under IIS
>Hi All,
>
> I have an 800 line ActivePerl cgi script which I am running under
>WindowsXP,
Thanx, guys you're great!!!
Ignacio Trabado Castillo
Dpto. Informática Desarrollo
tlf: 93 500 (9255)___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[EMAIL PROTECTED] wrote:
How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'd like to be able to
see how many miliseconds between them.
Any sugestions?
Time::HiRes module is what you looking for ;-)
Petr Vileta, Czech republic
(My serv
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 08 March 2006 08:03
To: ActivePerl@listserv.ActiveState.com
Subject: Time in miliseconds
> How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'd > like to
Bowie Bailey <> wrote:
> Brian Raven wrote:
>> Bowie Bailey <> wrote:
>>> Jason Gerfen wrote:
I am looking to do something which I am not sure perl can do. I
would like to be able to issue a system command ex. tail -f /file
and loop over that command while sorting the output. Is th
[EMAIL PROTECTED] wrote:
>
> How can i get the time down to miliseconds with perl? I have a logfile,
> with various inputs per second, so i'd like to be able to see how many
> miliseconds between them.
>
> Any sugestions?
If you just want time to msecs, try Time::HiRes::gettimeofday
If you nee
Have you tried Time::Hires?
[EMAIL PROTECTED] wrote:
How can i get the time down to miliseconds with perl? I have a
logfile, with various inputs per second, so i'd like to be able to see
how many miliseconds between them.
Any sugestions?
Thanx
Ignacio Trabado Castillo
Dpto. Informática
How do you connect? DBI? Are you sure to close your connections with the database?
Ignacio Trabado Castillo
Dpto. Informática Desarrollo
tlf: 93 500 (9255)
"Mary Anderson" <[EMAIL PROTECTED]>
Enviado por: [EMAIL PROTECTED]
07/03/2006 21:51
Para: ActivePerl@listserv.
How can i get the time down to miliseconds with perl? I have a logfile, with various inputs per second, so i'd like to be able to see how many miliseconds between them.
Any sugestions?
Thanx
Ignacio Trabado Castillo
Dpto. Informática Desarrollo
tlf: 93 500 (9255)__
Hi Tfbsr Bertrand
SNMP is devided in 2 parts, generic and device specific.
For specific part You need device specific description file, called Mib
file.
To study what can be read from each snmp service
study/test e.g. ws_ping_pro and GetIf softwares.
rgds ari
From:
[EMAIL PROTEC
26 matches
Mail list logo