Reference

Debian::Package::Virtual(3pm)

  Debian::Package::Virtual - List of Virtual Packages

 
=cut

  use Debian::Package::Virtual;
  # Initialize the Virtual package list, taking the install time
  # default list
  $pkg = Debian::Package::Virtual->new();
  # Print it back again
  $pkg->print();

  # Exercise new and print
  Debian::Package::Virtual->test();

This module implements a Virtual package list object.
new This is the constructor for the package. It takes a optional named argument 'Virtual Packages', which is a space separated list of virtual package names.
print This method takes the Virtual Package List and prints it out.
test This method exercises new and print.
As a bonus, you may execute this file, and it will do a test run for you. .

History