Re: Tree data structure

2007-11-20 Thread Vijay Kumar Adhikari
> Perhaps if you told us what you need > a tree for (because you almost never need a tree for itself) we could > suggest a good high level module. I am trying to analyze BGP routing table available at RouteViews routing archive. The data looks something like 1.0.0.0/8 1 2 3 4 5 6

Re: Help understand documentation

2006-06-12 Thread Vijay Kumar Adhikari
I understand. My question is that Net::Ping does not use that info at all. If a host is alive, it will be listed in the output no matter what port you specify. Is this a bug? On 6/11/06, Xavier Noria <[EMAIL PROTECTED]> wrote: On Jun 11, 2006, at 14:20, Vijay Kumar Adhikari wrote: >

Help understand documentation

2006-06-11 Thread Vijay Kumar Adhikari
This is from http://perldoc.perl.org/Net/Ping.html # Like tcp protocol, but with many hosts $p = Net::Ping->new("syn"); $p->{port_num} = getservbyname("http", "tcp"); foreach $host (@host_array) { $p->ping($host); } while (($host,$rtt,$ip) = $p->ack) { print "HOST: $ho

Can't locate Carp/Heavy.pm

2006-06-10 Thread Vijay Kumar Adhikari
I am getting this error: Can't locate Carp/Heavy.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.3/Carp

Re: Two perl installation

2006-06-08 Thread Vijay Kumar Adhikari
FC3 On 6/8/06, sfantar <[EMAIL PROTECTED]> wrote: Vijay Kumar Adhikari a écrit : > Thanks, but I am not using mod_perl. > > The problem is twofold. It works well when accessed from CGI. It > doesn't complain anything at all. When run in command line, it > generates th

Re: Two perl installation

2006-06-08 Thread Vijay Kumar Adhikari
fix that error with DBD::Mysql On 6/8/06, sfantar <[EMAIL PROTECTED]> wrote: Vijay Kumar Adhikari a écrit : > Hello, I was running an earlier version of perl and upgraded to the > latest one. Now when I run perl from command line, I get an error like > this > > [Thu Jun

Two perl installation

2006-06-08 Thread Vijay Kumar Adhikari
Hello, I was running an earlier version of perl and upgraded to the latest one. Now when I run perl from command line, I get an error like this [Thu Jun 8 18:57:18 2006] Importer_mysql.pl: install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBD/mysql/my

ssh to a remote machine

2005-06-22 Thread Vijay Kumar Adhikari
Hi, I need to ssh to a remote machine, run a command and get the output. Is there some modules that can help. TIA Vijay -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.10/25 - Release Date: 6/21/2005 -- To unsubscribe, e-mail

RE: Tabular Data, Group By Functions

2005-06-14 Thread Vijay Kumar Adhikari
Adhikari Cc: beginners@perl.org Subject: Re: Tabular Data, Group By Functions On Tue, 14 Jun 2005, Vijay Kumar Adhikari wrote: > I have some tab delimited text data like > > IDIn Out Day > 1 5 2 1 > 2 4 9 2 > 3 3 3 2

Tabular Data, Group By Functions

2005-06-14 Thread Vijay Kumar Adhikari
Hi I have some tab delimited text data like ID In Out Day 1 5 2 1 2 4 9 2 3 3 3 2 4 6 7 3 5 5 0 5 6 7 9 3 7 8 9 4 8 6 6 4 I want to perfor