in reply to Re: How to initialize a Global in a module
in thread How to initialize a Global in a module

Thanks a lot ... But I want to solve this task by myself and not to use a module. I don't earn money with programming, it is just hobby for fun and I like the Perl language very much ..

  • Comment on Re^2: How to initialize a Global in a module

Replies are listed 'Best First'.
Re^3: How to initialize a Global in a module (Uts,L)
by tye (Sage) on Oct 26, 2011 at 15:54 UTC

    If you refuse to have any of the things you learn be lessons learned by reading the documentation or source code of another module, then you will likely miss out on a lot of opportunities to learn.

    - tye        

      No, that seems to be a misundestanding. Of course I'm willing to read other peoples code. I looked around in PAB3, but the code I've already seen there looks pretty complex and did not give me a hint at the moment.

        I saw the answer just glancing at the documentation.

        use iPLib::iCFG; use iPLib::iDoc; use iPLib::iRequest; #... ... $_POST->{'TESTNAME'} ...

        vs.

        use PAB3::CGI qw(:default); #... PAB3::CGI::init(); #... ... $_REQUEST{'cmd'} ...

        - tye        

Re^3: How to initialize a Global in a module
by Anonymous Monk on Oct 26, 2011 at 13:18 UTC

    Thanks a lot ... But I want to solve this task by myself and not to use a module...

    Seems contradictory to ask how if you wish to solve it yourself :)