Problem with objects...hashes and arrays

From: Holger Schell (holger.schell_at_sap.com)
Date: 03/26/04


To: "'beginners@perl.org'" <beginners@perl.org>
Date: Fri, 26 Mar 2004 16:20:58 +0100

Hi,
please can somebody help me and show me the way to access the single attributes for my object...?
I do not have any clue how to handle the array in a hash and so on.
If u want to ask me why I am using it, also I cannot handle it....do not ask...now really I want to use this structure cause it represents to original datarelationship.
But I would be happy for any help provided by u.

Here is my code example:
sub new
{
    my $proto = shift;
    my $class = ref($proto) || $proto;
    my $self = {
            Name => undef,
            URLS => [],
            Switch => undef,
            CodeLine => [
                     CodeLineName => undef,
                     Project => [
                               ProjectURL => undef,
                               ProjectName =>undef,
                               Logfile =>undef
                               ]
            ]
        };
        bless($self, $class); # but see below
    return $self;
}

Best regards,

Holger Schell

SAP AG,
68789 Rot (Germany)
Non-ABAP Production Services
SAP Production
Student

Phone: +49 6227 7- 66814
Fax: +49 6227 78-38366
ROT15, CU.01



Relevant Pages

  • Re: A couple from todays Herald
    ... I had thought margin = M ... something being "around Germany", ... Woman = Leda ... she's a 'Woman of the people around Germany' and the clue is ...
    (rec.puzzles.crosswords)
  • Re: Home from the hills
    ... We arrived home from Germany late last night. ... We had a lovely time, the hotel was very good but... ... given us a clue - Crow's Nest - and it was at the top of a very steep ...
    (uk.people.silversurfers)
  • Re: Christ Stopped At Eboli & The Harem on
    ... The Harem's director Marco Ferreri was born in Italy, but in which country ... did he die in 1997? ... (you'll find a clue here) ... Germany ...
    (uk.rec.competitions)
  • MCE Remote in Germany
    ... Someone have a Clue where i can buy one in Germany? ... Thx a lot. ... ASCSOFT ...
    (microsoft.public.windows.mediacenter)