your project looks nice and usefull. What i am making will
utilze graphs & a sql database. I want to graph all packets droped
the last-hour, today, this-week, this year.
Eventully i would like to establish traffic patterns
so i can wright more abstract rules that what iptables
can do. If anyone is
Jdavis wrote:
>>
>> ($left,$right) = split(/word/, $sentence);
>>
>
> I am trying this but its not working. Im lost :)
> could someone take a look...
>
> This is the beggining of a scrip to make reports
> based on droped iptable packets
I've done something like this with my tailfilter project
jdavis wrote:
> I found the error. Sorry to answer my own queston
> I was trying
>
> (@bad,@good) = split(/ /, $string);
>
> when i needed
>
> ($bad,$good) = split(/ /, $string);
>
> thanks for all the help.
>
> jd
If you had chosen to
use strict;
your compiler would have brought this to your att
I found the error. Sorry to answer my own queston
I was trying
(@bad,@good) = split(/ /, $string);
when i needed
($bad,$good) = split(/ /, $string);
thanks for all the help.
jd
On Mon, 2003-03-31 at 16:18, jdavis wrote:
> >
> > ($left,$right) = split(/word/, $sentence);
> >
>
> I am trying
>
> ($left,$right) = split(/word/, $sentence);
>
I am trying this but its not working. Im lost :)
could someone take a look...
This is the beggining of a scrip to make reports
based on droped iptable packets
thanks
jd
#
#!/usr/bin/perl -w
$fi
;
-Original Message-
From: jdavis [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 2:36 PM
To: perl
Subject: Simple split question
Hello,
I have a sentince I would like to split on a word and keep everything
right of the "split word". I cant seem to get this to work. Coul
> Hello,
> I have a sentince I would like to split on a word and keep
> everything right of the "split word". I cant seem to get this
> to work. Could over me some advice.
Split returns in list context so ::
@stuff = split(/word/, $sentence);
Or
($left,$right) = split(/word/, $sentence);
A
Hello,
I have a sentince I would like to split on a word and keep everything
right of the "split word". I cant seem to get this to work. Could
over me some advice.
Thanks,
--
jd
[EMAIL PROTECTED]
Bad spellers of the world untie!
"I can't tell if I have worked all my life or
if I have never w
At 01:40 2001.07.01, Jeff 'japhy' Pinyan wrote:
>On Jun 30, Sanjeeb Basak said:
>
>>I want to perform a simple split operation, but can't get the regular expr
>>working. Can anybody help me on this?
>>
>>my $line from a file read is:
>>xyz abc 12sd "pqr stz" dfg (delimited by blank char).
>>
>>I'm
On Jun 30, Sanjeeb Basak said:
>I want to perform a simple split operation, but can't get the regular expr
>working. Can anybody help me on this?
>
>my $line from a file read is:
>xyz abc 12sd "pqr stz" dfg (delimited by blank char).
>
>I'm doing
>my ($par1, $par2, $par3, $par4, $par5) = split(/
Hi,
I want to perform a simple split operation, but can't get the regular expr
working. Can anybody help me on this?
my $line from a file read is:
xyz abc 12sd "pqr stz" dfg (delimited by blank char).
I'm doing
my ($par1, $par2, $par3, $par4, $par5) = split(/ /, $line);
and I'm getting
$par4 =
z,,,
On Thu, 28 Jun 2001 16:32:28 -0400, Seitz, Scott said:
> I'm having trouble with what I think is a very simple split question.
>
> I've got a line of text something like:
>
> DimView 1 "All" DimView 2 "Some" DimView 3 "Most" DimVie
ot;([^"]+)"/g;
That gives me %foo as (according to Data::Dumper):
{
1 => 'All',
2 => 'Some',
3 => 'Most',
4 => 'None'
};
> -Original Message-
> From: Seitz, Scott [mailto:[EMAIL PROTECT
--- "Seitz, Scott" <[EMAIL PROTECTED]> wrote:
> I'm having trouble with what I think is a very simple split question.
>
> I've got a line of text something like:
>
> DimView 1 "All" DimView 2 "Some" DimView 3 "Most" DimV
On Thu, 28 Jun 2001, Seitz, Scott wrote:
> I'm having trouble with what I think is a very simple split question.
>
> I've got a line of text something like:
>
> DimView 1 "All" DimView 2 "Some" DimView 3 "Most" DimView 4 "None"
mumble* Took me a few minutes to figure out why!
- Original Message -
From: "Seitz, Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 28, 2001 2:32 PM
Subject: Simple Split Question
> I'm having trouble with what I think is a very simple
I'm having trouble with what I think is a very simple split question.
I've got a line of text something like:
DimView 1 "All" DimView 2 "Some" DimView 3 "Most" DimView 4 "None"
I want a hash with (1, "All", 2, "Some", 3, &qu
17 matches
Mail list logo