[EMAIL PROTECTED] wrote:
> Mr. Shawn H. Corey wrote:
>> On Sun, 2008-09-21 at 09:59 -0700, Ron Bergin wrote:
#!/usr/bin/perl
#
>>> You're missing 2 very important pragmas that should be in every script
>>> you write.
>>>
>>> use warnings; #
>>> use strict; # forces you to declare your v
Mr. Shawn H. Corey wrote:
> On Sun, 2008-09-21 at 09:59 -0700, Ron Bergin wrote:
>>
>> > #!/usr/bin/perl
>> > #
>> You're missing 2 very important pragmas that should be in every script
>> you write.
>>
>> use warnings; #
>> use strict; # forces you to declare your vars prior to their use.
>>
[s
Mr. Shawn H. Corey wrote:
On Sun, 2008-09-21 at 09:59 -0700, Ron Bergin wrote:
#!/usr/bin/perl
#
You're missing 2 very important pragmas that should be in every script
you write.
use warnings; #
use strict; # forces you to declare your vars prior to their use.
#
# Set behaviour
$log="/var/
On Sun, 2008-09-21 at 09:59 -0700, Ron Bergin wrote:
>
> > #!/usr/bin/perl
> > #
> You're missing 2 very important pragmas that should be in every script
> you write.
>
> use warnings; #
> use strict; # forces you to declare your vars prior to their use.
>
> > #
> > # Set behaviour
> > $log="/
On Sep 19, 10:07 pm, [EMAIL PROTECTED] (Stephen Reese) wrote:
> I am working on modifying a script that previously parsed Cisco ACL's
> and changing it to parse IPS information.
>
> Here is an example of the two log formats.
>
> Sep 19 15:44:29 172.16.2.1 59800: 3725router: Sep 19 19:44:39: %SEC-6-