Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use feature 'say';
    ...
    my $t = new Test($file);
    $t->send("foo");
    close $file;
    
  2. or download this
        sub output {
            my ($self, $data) = @_;
            print $$self $data;
        }