While () only reads the first line

2002-12-06 Thread Hanming Tu
Hi, All, It is very strange. I have an Perl application developed on Unix box and want to port to Windows environment. All my file handlers only read the first line in the applications developed in Unix although they were working fine in Unix environment. Any clue? Thanks. sub readTaskHelp { my

Help on Regular Expression probelm

2001-08-13 Thread Hanming Tu
Hi All, I am writing a program to display POD, functions, Perl FAQ, and programs and want to impement two rules for the input: 1. it is Perl module names if the input starts with words or '-m'; 2. it is Perl function, FAQ, or program name if it starts with -f, -q, or -p respectively. Here is th

Re: OO problem

2001-08-13 Thread Hanming Tu
changing your class2, you can do this in your class1: use Class1::Class2; our @ISA=qw(Class1::Class2); Hope this helps. Hanming Tu "Matthias Eichner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello, > > I created two cla