Re: bitwise xor operator - array

2008-03-19 Thread Rajanikanth Dandamudi
-25099116 Fax : +91-80-25048213 Email : [EMAIL PROTECTED] Chas. Owens wrote the following on 03/19/08 19:18: On Wed, Mar 19, 2008 at 9:32 AM, Rajanikanth Dandamudi <[EMAIL PROTECTED]> wrote: Hi All, I would like to understand the behavior of the following program: snip my @

bitwise xor operator - array

2008-03-19 Thread Rajanikanth Dandamudi
Hi All, I would like to understand the behavior of the following program: program start== #!/usr/local/bin/perl use strict; use integer; my @a=qw(1 0 0 0 0 0 0 1); my @b=qw(0 0 0 0 0 0 0 0); my $d=$a[0]; my $e=$b[0]; my $f=($d)^($e); print " 1 = $d , $e , $f\n"; $d=1; $e=0;

Re: Problem with coverage

2002-12-03 Thread Rajanikanth Dandamudi
erl/install/lib/site_perl/5.8.0/sun4-solaris /proj/dite/WorkArea/Raja/perl/install/lib/site_perl/5.8.0 /proj/dite/WorkArea/Raja/perl/install/lib/site_perl and program_1/cover.4 is : $db = {'collected' => ['statement','time'],'cover' => {'program_1.pl&#

Re: Problem with coverage

2002-12-03 Thread Rajanikanth Dandamudi
Paul Johnson wrote: > Rajanikanth Dandamudi said: > > Hai > > > > I am planning to get the coverage of a file by name program_1.pl . This > > program_1.pl dynamically loads a c module defined in program_1.so . This > > program_1.so is a 64 bit ELF shared library and the pe

Re: Problem with coverage - Resend

2002-12-02 Thread Rajanikanth Dandamudi
Rajanikanth Dandamudi wrote: > Hi, > > I am planning to get the coverage of a file by name program_1.pl . > This program_1.pl dynamically loads a c module defined in program_1.so > . This program_1.so is a 64 bit ELF shared library and the perl > available in the standard lo

Problem with coverage

2002-12-02 Thread Rajanikanth Dandamudi
Hai I am planning to get the coverage of a file by name program_1.pl . This program_1.pl dynamically loads a c module defined in program_1.so . This program_1.so is a 64 bit ELF shared library and the perl available in the standard location is a 32-bit perl. So I had downloaded the perl v5.8.0 fr

Help Required - Search and Replace

2002-03-20 Thread Rajanikanth Dandamudi
All, I have a one big text file and also I have some set of strings to be replaced by another set of strings. Currently, I am reading each line of the file, and replacing one set of strings by another set of strings, one after another. Is there any efficient way of doing this? The data is so huge

Re: Perl code - Coverage

2002-01-17 Thread Rajanikanth Dandamudi
uot; wrote: > Rajanikanth Dandamudi <[EMAIL PROTECTED]> writes: > > Can someone help me in getting the coverage of a perl > > program. I had used the Coverage module of the perl > > distribution by issuing a command: > > perl -d:Coverage script_name [ args ] >

Perl code - Coverage

2002-01-17 Thread Rajanikanth Dandamudi
Hello, Can someone help me in getting the coverage of a perl program. I had used the Coverage module of the perl distribution by issuing a command: perl -d:Coverage script_name [ args ] Running the above command created a file by name: script_name.cvp This file script_name.cvp is

small clarification

2001-08-30 Thread Rajanikanth Dandamudi
Hello, I had a small doubt. I don't whether it is a reasonable or unreasonable doubt, but I want to get it clarified. What is the reason behind not having a builtin function(something similar to join, grep, chomp) in perl to find the current working directory. I am

Doubt

2001-08-30 Thread Rajanikanth Dandamudi
Hello, My doubt is "How do you identify whether a perl scalar variable contains a numeric value or alphanumeric string?" . I had gone through theexplanation available atthe URL http://www.cpan.org/doc/FMTEYEWTK/is_numeric.html , but I didn't und

can't able to understand this behaviour of Getopt::Long

2001-08-03 Thread Rajanikanth Dandamudi
Hello, I am not able to understand the following behaviour of perl Getopt::Long. Here is the snippet of code that I am not able to understand: Start of code - #!/usr/local/bin/perl use Getopt::Long; my $filename; print "Before : ARGV = @ARGV\n"

Resend - Macros concept?

2001-07-16 Thread Rajanikanth Dandamudi
Hello, Is there a concept of macros in perl, i.e. Is there some thing like preprocessor processing in perl. Thanks in advance. -- Thanks and Regards, D.Rajanikanth -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Macros concept?

2001-07-16 Thread Rajanikanth Dandamudi
Hello, Is there a concept of macros in perl, i.e. Is there some thing like preprocessor processing in perl. Thanks in advance. -- Thanks and Regards, D.Rajanikanth

Re: Doubt in the perl module Storable.pm

2001-07-13 Thread Rajanikanth Dandamudi
al L. Schwartz" wrote: > >>>>> "Rajanikanth" == Rajanikanth Dandamudi <[EMAIL PROTECTED]> writes: > > Rajanikanth> I > Rajanikanth> am able to see the > Rajanikanth> definitions of all the functions except > Rajanikanth> fun

Doubt in the perl module Storable.pm

2001-07-11 Thread Rajanikanth Dandamudi
Hello, I had got a doubt about the perl module Storable.pm . Incase someone is not aware of what Storable.pm is please enter the following command( on aunix machine)at the command prompt. Command to be entered is "perldoc Storable.pm" (with out quot

Re: Doubt in understanding

2001-06-08 Thread Rajanikanth Dandamudi
Hello, I had seen some of the perl files starting with the line : eval 'exec perl $0 -S ${1+"$@"}' and here is where I got the doubt. -- Thanks and Regards, D.Rajanikanth Jeff Yoak wrote: > At 02:16 PM 6/8/01 +0530, Rajanikanth Dandamudi wrote: > >H

Doubt in understanding

2001-06-08 Thread Rajanikanth Dandamudi
Hello, I had a problem understanding what the expression ${1+"$@"} mean? can someone help me in understanding this? -- Thanks and Regards, D.Rajanikanth