Hello,

In the _init method of my class, I have something like that:

sub _init
{
   my ($self, %parameters) = @_;
   $self -> Classes::_MyClass::_init(%parameters);
   $self -> {_definitions} = ( { IN       => "file1.txt", 
                                             OUT    => "file1.dat", } );   
}


It works, I can get the informations via IN and OUT.

I would like to have more than one anonymous hash in the instance variable
_defitions, for example:

$self -> {_definitions} = ( { IN       => "file1.txt", 
                                         OUT    => "file1.dat",},
                                       { IN       => "file2.txt", 
                                         OUT    => "file2.dat",} );
}   

It doesnt' work, I  just have 1 hash in _definitions (the second one with
file2.txt and file2.dat).

Do somebody have a solution for this problem ? Thank you.

Olivier

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to