how to run perl class?

2005-08-24 Thread praba har
Dear All, I try to run a sampleclass example program in perl. But I received error. How to avoid it? The code is below: Package Person; sub new { my($type) = $_[0]; my($self) = {}; $self-{'name'} = $_[1]; bless($self, $type); return($self); } sub

Reg ours,local,my declarations

2005-08-24 Thread praba har
Dear All, I am new perl. I want to know the difference between ours,local and my. I read lot of documentation regarding this. But still I cannot understand clearly. Kindly let me know with small example. regards Prabahar

Perl Interview Questions

2005-08-24 Thread praba har
Dear All, I am working as perl-cgi programmer in a small company. I got a call from the big company for Perl developer post. So I need perl related interview point of view questions. Kindly help me for this interview. regards Prabahar

Reg Closure in Perl

2005-08-24 Thread praba har
Dear All, Kindly let me know what is closure and why we need it. regards Prabahar Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to