How to redefine the default escape character

2009-10-27 Thread Vijay Gururaja
Hi, All! The default character to escape is backslash (\). Is there any way to redefine this and set it to any other character? For e.g. if I wanted to use '^' instead of '\'. *print "Hello World ^n";* Thanks, Vijay Gururaja

Check if a given function returns something

2008-02-26 Thread vijay krishna
statement and some do not. So, when i invoke the sub routine "function" and i pass the returned value into $str, I need to check if $str has any value assigned or not. Can you tell me how I could accomplish this? Thanks, Vijay ___

Traversing upto end of line

2008-02-07 Thread vijay krishna
be working. I also tried if($string != null) { do operations; } This does not seem to be working either. Can someone help me out? Thanks, Vijay ___ Support the World Aids Awareness campaign this month with Yahoo! For Good http

How to test if a graph is a subgraph of another graph?

2008-01-10 Thread vijay
I am using Graph::Directed module but there does not seem to be a way to test if one graph is a subgraph of another. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Tree data structure

2007-11-20 Thread Vijay Kumar Adhikari
cifically looking for something. I am trying to study the structures to see if there is something interesting there. Maybe this time I am using trees just for trees :) -- Vijay -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Tree data structure

2007-11-20 Thread vijay
only find something called Tree::Nary which is not very useful to me. Thank you. -- Vijay -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Tree data structure

2007-11-14 Thread vijay
I am trying to use Graph::Directed to test if a structure is a DAG or a tree. There is a simple method to test whether the graph is a DAG. However, I could not find a way to test if it is a tree. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

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
$rtt,$ip) = $p->ack) { print "HOST: $host [$ip] ACKed in $rtt seconds.\n"; } Can some body tell me what the following line does? $p->{port_num} = getservbyname("http", "tcp"); -- Vijay -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Can't locate Carp/Heavy.pm

2006-06-10 Thread Vijay Kumar Adhikari
5.8.3/Carp.pm line 178 I tried to install it from CPAN but looks like it is not available there. Carp::Heavy should be in core installation. Not sure why I am grtting this error. Help. -- Vijay -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

RE: Tabular Data, Group By Functions

2005-06-14 Thread Vijay Kumar Adhikari
Thank you. That helped. I get the data as output from another program. Is their any way that I need not save it the output in a temp file and directly pipe it to DBD:CSV. -Original Message- From: Chris Devers [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 5:52 PM To: Vijay Kumar

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