in reply to To be, or not to be, a package? That is the question

I believe your $value 's earlier declaration error, can be solved by ending each package with 1; ( a true value) to isolate the package.
sub value { $value } 1; package SVC::DnsEntity::IPv4;

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: To be, or not to be, a package? That is the question
by Bloodnok (Vicar) on Dec 04, 2008 at 13:54 UTC
    zentara++ :-))

    TFT zentara, I knew it would be so obvious I couldn't see it.

    Thanx again

    Update

    Moderated zentaras kudos - when implemented, it didn't have quite the expected result...in fact, it didn't change it! :-(

    A user level that continues to overstate my experience :-))
      Doh...posted without testing. This works...wrap your packages in {}.
      { package whatever; 1; }

      I'm not really a human, but I play one on earth Remember How Lucky You Are