Re: bless function

2001-09-17 Thread baby lakshmi
Hello Jeff, Thank you for ur reply. > >package Animal; > >sub named { > > my $class = shift; > > my $name = shift; > > bless \$name, $class; > >} > >sub eat{ > > my $class = shift; > > $class = ref($class) || $class; > > my $food = shift; > > print "$class eats $food\n"; > >} > >

bless function

2001-09-14 Thread baby lakshmi
hello friends, i have a doubt in the concept of blessing. package Animal; sub named { my $class = shift; my $name = shift; bless \$name, $class; } sub eat{ my $class = shift; $class = ref($class) || $class; my $food = shift; print "$class eats $food\n"; } my $talk

OOPs concepts

2001-09-10 Thread baby lakshmi
Hi I am learning OOPs concepts. Can anyone tell me what is the real use of UNIVERSAL class(in built)? Also i read that, Unless otherwise we invoke the constructors, it wont be executed automatically. Then what is the speciality of the constructor in Perl?? Any pointers in this regard will be

Re: Breaking out of foreach loop

2001-09-02 Thread baby lakshmi
Hi Chris, Use loop breaks such as last, next, goto etc eg @arr=qw(1 3 4 2 4 5); foreach $number(@arr) { last if($number == 2); print "$number"; } HTH Regards Babylakshmi M _ Get your FREE download of MSN Explorer at http://

Re: Some Extremely Clueless Questions!

2001-09-02 Thread baby lakshmi
Hello Leonard, If u r goin to use notepad as the editor just use path c:\perl\bin if u want to use the dos editor use the following command. path c:\windows\command;c:\perl\bin; HTW Regards Babylakshmi M >From: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Some Extremely Clueless Questions!

Extended patterns

2001-08-02 Thread baby lakshmi
Hi I really dont understand what is the difference between the patterns and extended patters.. i think both are doin the same function. But why they called as extended?? Help pointers in this regard will be really helpful. Thank you Regards Babylakshmi M ___

Re: diff bet list and an array

2001-07-09 Thread baby lakshmi
ou REgards babylakshmi >From: Aaron Craig <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: diff bet list and an array >Date: Mon, 09 Jul 2001 13:08:58 +0200 > >At 16:30 09.07.2001 +0530, baby lakshmi wrote: >>hi, >>What is the difference between list and an array??

Re: diff bet list and an array

2001-07-09 Thread baby lakshmi
PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: diff bet list and an array >Date: Mon, 09 Jul 2001 13:08:58 +0200 > >At 16:30 09.07.2001 +0530, baby lakshmi wrote: >>hi, >>What is the difference between list and an array?? >>May be this very small question. bu

diff bet list and an array

2001-07-09 Thread baby lakshmi
hi, What is the difference between list and an array?? May be this very small question. but i would like to know the difference. The help in this regard is appreciated. Thank you Regards babylakshmi _ Get Your Private, Free E-

compiled/interpreted??

2001-06-26 Thread baby lakshmi
hi while reading use and require modules, i confused with perl is compiled or interpreted.. i read FAQ. but i cudnt understand the following paragraph.. In the following paragraph what is meant by parse tree and What do they mean by front end and backend..Can anyone explain this in detail??? Than

Re: how to copy a hash ?

2001-05-30 Thread baby lakshmi
hi what abt this?? %arr1=qw(this 1 is 2 a 3 sample 4 program 5); %arr2=%arr1; print $arr2{this}; >From: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: how to copy a hash ? >Date: Wed, 30 May 2001 18:05:32 +0800 > >hello, > >I have a question : > >how to copy a hash? > >example: $h is refer

Re: reg ftp

2001-05-25 Thread baby lakshmi
hi thank you for ur mail. i have given bin while ftping it. still i am getting the same problem. Thank you regards babylakshmi >From: "Antonio Greco" <[EMAIL PROTECTED]> >To: "baby lakshmi" <[EMAIL PROTECTED]> >Subject: Re: reg ftp >Date: Fri, 25

reg ftp

2001-05-24 Thread baby lakshmi
hi while doing ftp from windows to unix, the file contains ctl M at the end of each line. my file is a huge data file. i am not able to delete that. is there any better way to delete it. If anyone can answer this, it wud be helpful to me. Thank you Regards babylakshmi __

memory usage

2001-05-23 Thread baby lakshmi
hi I would like to know which part of my program is taking much time. IS that possible? if possible, can u tell me how to do it?? Thankyou regards babylakshmi _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hot

regarding pragmas

2001-05-20 Thread baby lakshmi
hi i am very new to perl. now iam in the process of learning modules. I am not able to use the following in my program: use strict; use warnings; use dumper; etc these r the only things i have tried to use. can any one eloborate on it in detail. it wil be really helpful for me to continue learnin