Hello everyone out there using Perl.
Im doing perl scripts that parses log files of networking devices.
In this forum thanks to everyone suggest me to take several lines at time. I
can do that already, but I have another problem.
If I read 5 lines at time I have to process each once at time, ma
ed it to float4, and It works =)
Thanks to everyone
On Thursday 09 September 2004 01:49 pm, Jeff 'japhy' Pinyan wrote:
> On Sep 9, Eduardo Vazquez Rodriguez said:
> >@duration = $string =~ /\sduration=(.*?)\s/;
> >
> >The first element in duration contains "1.23&qu
Using regular expressions I match a criteria in a text string, such as:
@duration = $string =~ /\sduration=(.*?)\s/;
The first element in duration contains "1.23", in a string format
When I try to insert $duration[0], into a field of integer type in a database,
I get the Following error:
Error