in reply to win32 perl module usage problem

Can someone explain it to me?

You have decided to use symbolic references, and its biting you :) Use a hash instead.

Replies are listed 'Best First'.
Re^2: win32 perl module usage problem
by BrowserUk (Patriarch) on Jan 08, 2010 at 11:53 UTC
    Use a hash instead.

    Or better yet. Gain some space and speed by using an array!


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: win32 perl module usage problem
by Anonymous Monk on Jan 08, 2010 at 12:23 UTC
    I am sorry but I do not understand what you write. I am afraid I need an example. I have to refer to $Window1 somehow and I need to be able to do it dynamically.
      my @Windows; $Windows[ 1 ] = new Win32::GUI::Window ( ... my $var = $Windows[ 1 ]->RegExp->Text;

      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        Now I read you - sorry I am not too brilliant in coding. It solved my problem, thank you.