Help for this page

Select Code to Download


  1. or download this
    use Printer;
     my    $prn = new Printer('linux' => 'lp', 
    ...
     my  %data = $prn->list_printers;
    print $data{name};
    print $data{port};
    
  2. or download this
    my @list = \$data{name};
    print @list;