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";
> >}
>
>
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
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
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://
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!
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
___
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??
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
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-
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
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
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
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
__
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
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
15 matches
Mail list logo