Re: How to call ancestor's constructor?

2005-05-01 Thread John Doe
Hi Siegfried, Somebody hopefully will provide the appropriate perldocs to consult and correct me if I'm wrong. Am Sonntag, 1. Mai 2005 06.34 schrieb Siegfried Heintze: > I'm trying to write a screen scraper and I need to use inheritance > (according to a response to an earlier post). > > Here is

Re: How to call ancestor's constructor?

2005-05-01 Thread Randal L. Schwartz
> "John" == John Doe <[EMAIL PROTECTED]> writes: John> my $self=$class::SUPER->new(%params); I think you were trying to write: my $self = $class->SUPER::new(%params); Unless you were really looking for a variable named $class::SUPER to find a class/instance for the call to new. :)

Re: How to call ancestor's constructor?

2005-05-01 Thread John Doe
Am Sonntag, 1. Mai 2005 17.52 schrieb Randal L. Schwartz: > > "John" == John Doe <[EMAIL PROTECTED]> writes: > > John> my $self=$class::SUPER->new(%params); > > I think you were trying to write: > > my $self = $class->SUPER::new(%params); aargh - yes of course... thanks for the correc

populating a hash with % used as the key and F string as the value

2005-05-01 Thread DBSMITH
I was thinking of using a hash of arrays b/c I want to look-up each array by a certain string and that string would the % string. My goal is to populate a hash of some sort with the % string and its associated F string. Here is the data file: 1 2005/01/20 15:39 17 2% -il-o-b- sg F01

Re: populating a hash with % used as the key and F string as the value

2005-05-01 Thread John W. Krahn
[EMAIL PROTECTED] wrote: I was thinking of using a hash of arrays b/c I want to look-up each array by a certain string and that string would the % string. My goal is to populate a hash of some sort with the % string and its associated F string. Here is the data file: 1 2005/01/20 15:39 17

Re: populating a hash with % used as the key and F string as the value

2005-05-01 Thread DBSMITH
John, the reg exp s <-+> (); ^ was changed to y/sg//;; y/-//d; s{\w+} (); to exclude the spaces and use y... thx why are thre operators y or tr more efficient since these operators do not use pattern matching? Originally I was using an array,

installing XML::Xerces in Perl

2005-05-01 Thread marcos rebelo
I'm getting crazy I have the Xerces (I think) installed on Cygwin. Now I have to set some variables but I dont know to what, can someone help me XERCES_LIB XERCES_INCLUDE XERCESCROOT XERCES_CONFIG Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE