On Fri, 2007-09-21 at 12:47 -0400, Chas. Owens wrote:
> On 9/21/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I have file like that following,
> >
> > site_name access_time
> > www.google.com14:13:04|14:13:04|
> > 172.16.5.49 14:12:10|14:12
sivasakthi schreef:
> Could u help me to solve the pbm???
Try this first:
s/\bu\b/you/
s/\bpbm\b/problem/
s/\?{3}/?/
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
sivasakthi wrote:
Hi all,
Hello,
I have file like that following,
site_name access_time
www.google.com14:13:04|14:13:04|
172.16.5.49 14:12:10|14:12:56|
172.16.65.53 14:12:41|14:12:58|
172.16.671.35 14:12:29|
from the abov
On 9/21/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have file like that following,
>
> site_name access_time
> www.google.com14:13:04|14:13:04|
> 172.16.5.49 14:12:10|14:12:56|
> 172.16.65.53 14:12:41|14:12:58|
> 172.16.671.35
sivasakthi wrote:
Hi all,
I have file like that following,
site_name access_time
www.google.com14:13:04|14:13:04|
172.16.5.49 14:12:10|14:12:56|
172.16.65.53 14:12:41|14:12:58|
172.16.671.35 14:12:29|
from the above file i n
On 9/21/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> open(FILE,:/tmp/test.txt/" or die "cant open the file");
You probably meant a quote mark instead of a colon there.
> foreach $dname (sort {$noofconns{$b} <=> $noofconns{$a}} %noofconns)
It looks as if you want to use the keys() function there,
Hi all,
I have file like that following,
site_name access_time
www.google.com14:13:04|14:13:04|
172.16.5.49 14:12:10|14:12:56|
172.16.65.53 14:12:41|14:12:58|
172.16.671.35 14:12:29|
from the above file i need to print the sit