perldiverx has asked for the wisdom of the Perl Monks concerning the following question:
And part of the script that utilizes this:package Monro::CC; use strict; use warnings; use Class::Accessor "antlers"; extends(qw/transaction_type/); has transaction_type => ( is => 'rw', );
#!/usr/bin/perl use strict; use warnings; use Monro::CC; my $transaction_info = read_psin(); my @transaction_info = @{$transaction_info}; my $trans_obj = Monro::CC->new( transaction_type => $transaction_info[0], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Class::Accessor attributes
by McA (Priest) on Mar 07, 2014 at 13:42 UTC | |
by perldiverx (Beadle) on Mar 07, 2014 at 13:52 UTC | |
by McA (Priest) on Mar 07, 2014 at 13:56 UTC | |
by perldiverx (Beadle) on Mar 07, 2014 at 14:00 UTC | |
by McA (Priest) on Mar 07, 2014 at 14:08 UTC | |
|