Audio::Nama::Object(3pm)

Audio::Nama::Object3pm

Class builder

Usage

  # Define a class
  package Foo;
  
  use Audio::Nama::Object qw{ bux baz };
  
  1;
  
  
  # Use the class
  my $object = Foo->new( bux => 1 );
  $object->set( bux => 2);
  
  print "bux is " . $object->bux . "\n";
  # Define a subclass (automatically inherits parent attributes)
  package Bar;
  our @ISA = 'Foo';
  my $lonely_bar = Bar->new();
  
  $lonely_bar->set(bux => 3);

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7–8
  3. 10
  4. 11
  5. 12–13

From nama 1.216-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.