2 package Filter::UUdecode ;
4 use Filter::Util::Call ;
16 filter_add( \$count ) ;
27 if ($status = filter_read() ) <= 0;
32 # Skip the begin line (if it is there)
33 ($_ = ''), next if $$self == 1 and /^begin/ ;
35 # is this the last line?
36 if ($_ eq " " or length $_ <= 1) {
38 # If there is an end line, skip it too
40 if ($status = filter_read() ) <= 0 ;
47 $_ = unpack("u", $_) ;
49 # return the uudecoded data