[everyone, please keep posts on list]
I'm programming a registration editing produce for my site,
I want to bind many of same subroutine into a library, and reuse
these routines in same case.
You don't need to use objects at all. You can just use the package
and module concepts. You can
I'm try my best
And you had 99% of it right.
package pt;
use 5.;
$a=ok; #for public using
$b=It's;
# I don't know why put the newsubroutine in this package,
# perhaps, it is a constructer, I copy from PERL's manual,
# but it seem don't do anything.
Most of what you wrote is
Good job I decided to write this as two posts.
Most of what you wrote is redundant in this
particular case. You could have written:
(I was just refering to the constructor, btw.)
package foo;
sub bar { bless \$qux };
.
.
package waldo;
$emerson = foo-new;
That