Help for this page

Select Code to Download


  1. or download this
    % perl --version
        This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_6
    +4-linux-thread-multi
    % cat /etc/redhat-release 
        CentOS Linux release 7.3.1611 (Core)
    
  2. or download this
    % testmail.pl
        no data in this part at ./testmail.pp line 25.
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    
        print $output;
    }
    
  4. or download this
    ./testmail.pp
    bless( {
    ...
        'Attrs' => {},
        'Header' => []
      }, 'MIME::Lite' );
    
  5. or download this
    bless( {
        'SubAttrs' => {},
    ...
          ]
        ]
      }, 'MIME::Lite' );
    
  6. or download this
    bless( {
        'SubAttrs' => {
    ...
        ]
      }, 'MIME::Lite' );
    no data in this part at ./testmail.pp line 21.
    
  7. or download this
        if ( defined( $self->{Data} ) ) {
    ...
        elsif ( defined( $self->{Path} ) || defined( $self->{FH} ) ) {
    ...
        else { Carp::croak "no data in this part\n";
    
  8. or download this
    =item attach PART
    
    ...
        push @{ $self->{Parts} }, $part1;
        $part1;
    }