| 1 | #!perl | ||
| 2 | |||
| 3 | # ########################################################################## # | ||
| 4 | # Title: Push data stream source | ||
| 5 | # Creation date: 2007-04-16 | ||
| 6 | # Author: Michael Zedeler | ||
| 7 | # Description: Receives data from outside a processing chain and passes it | ||
| 8 | # into the chain | ||
| 9 | # Data Stream class | ||
| 10 | # File: $Source: /data/cvs/lib/DSlib/lib/DS/Source/Push.pm,v $ | ||
| 11 | # Repository: kronhjorten | ||
| 12 | # State: $State: Exp $ | ||
| 13 | # Documentation: inline | ||
| 14 | # Recepient: - | ||
| 15 | # ########################################################################## # | ||
| 16 | |||
| 17 | package DS::Source::Push; | ||
| 18 | |||
| 19 | 1 | ▶ | use base qw{ DS::Source }; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 1 | our ($VERSION) = $DS::VERSION; | |
| 24 | 1 | our ($REVISION) = '$Revision: 1.1 $' =~ /(\d+\.\d+)/; | |
| 25 | |||
| 26 | 0 | ▶ | sub receive_row { |
|
Subroutine
receive_row: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | 0 | my( $self, $row ) = @_; | |
| 28 | |||
| 29 | 0 | $self->pass_row( $row ); | |
| 30 | |||
| 31 | 0 | return; | |
| 32 | } | ||
| 33 | |||
| 34 | 1 | 1; | |