Problem with objects...hashes and arrays
From: Holger Schell (holger.schell_at_sap.com)
Date: 03/26/04
- Next message: Wiggins D Anconia: "RE: Streaming a file to a remote user"
- Previous message: Harry Putnam: "Re: Home made mail news search tool, and folded header lines"
- Next in thread: Wiggins D Anconia: "Re: Problem with objects...hashes and arrays"
- Maybe reply: Wiggins D Anconia: "Re: Problem with objects...hashes and arrays"
- Reply: James Edward Gray II: "Re: Problem with objects...hashes and arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Wiggins D Anconia: "RE: Streaming a file to a remote user"
- Previous message: Harry Putnam: "Re: Home made mail news search tool, and folded header lines"
- Next in thread: Wiggins D Anconia: "Re: Problem with objects...hashes and arrays"
- Maybe reply: Wiggins D Anconia: "Re: Problem with objects...hashes and arrays"
- Reply: James Edward Gray II: "Re: Problem with objects...hashes and arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|