radius log and also get the
telephone number,disconnect time connect time and a i can' nt get the
regexp to work properly ,after extracting the lines that containts the
mentioned parameters i need to print them out to stdout or to a file,
Thanks again
Hernan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
*/, $log_entry) {
# grab the name/value pairs and save to a hash
/^(\w+)\s*(.*)/ and $data{$1} = $2 and next; }
# grab what you need from the hash
print "DATE: $data{Date}\n"; print "NAS-IP-Address :
$data{NAS-IP-Address }\n"; # etc...
Any ideas on how to adecuate the regexp?
Thanks in advance,sorry for the long mail
Hernan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tgT]+)
..* /xo;
Sorry for the long mail,any ideas?,thanks in advance
Hernan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
;;
} else {
print "YESYESYES!"; print "not Found. $_\n" ;
}
And it gives out the same ouput,so it seems that it always goes directly
into the else..
it does "print Not Found $_" and prints the following output:
It gives the same output with or without the
;;
} else {
print "YESYESYES!"; print "not Found. $_\n" ;
}
And it gives out the same ouput,so it seems that it always goes directly
into the else..
it does "print Not Found $_" and prints the following output:
It gives the same output with or without the
and it's the filehandle for standard input (be
it keyboard, pipe or file).
Hernan Freschi
"Jon Serra" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED].;
> Greetings, I am trying to read a text file into a scalar variable line by
line
> until EOF or a sea
well... just because I wanted to do it myself :) (laziness?... i'm not a
good programer then ;). never mind, i'm now using NNTPClient.pm, thanks
anyway.
"Daniel Gardner" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED].;
> Monday, March 04, 2002
I already did, but I dont understand it,... it uses objects and I don't know
them.
"Daniel Gardner" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED].;
>
> Sunday, March 03, 2002, 1:11:39 AM, Hernan Freschi wrote:
> > I wrote a little script
or input (looks like). For example, it works on
nntp.perl.org, but not on news.microsoft.com.
I tried \r\f instead of \n but it doesn't work either.
News:NNTPClient is NOT an option (or any other module for the matter).
Can anyone help me? Thank you.
Hernan Freschi
--
To unsubscribe, e-ma
Folks
I need to know how can get to convert a hexadecimal string to text,
there are some function or something, thanks!!
sorry by my english
hernan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
10 matches
Mail list logo