POE::Component::RemoteTail::Job - Job class.


POE-Component-RemoteTail documentation Contained in the POE-Component-RemoteTail distribution.

Index


Code Index:

NAME

Top

POE::Component::RemoteTail::Job - Job class.

SYNOPSIS

Top

  my $job = $tailer->job(
      host        => '127.0.0.1',
      path        => '/home/httpd/logs/access_log',
      user        => 'admin',
      ssh_options => '-i ~/.ssh/identity',
      add_command => '| grep hoge', 
  );

  # $job would be transformed as below.
  # ssh -i ~/.ssh/identity -A 127.0.0.1 "tail -f /home/httpd/access_log | grep hoge"

DESCRIPTION

Top

METHOD

Top

new()

AUTHOR

Top

Takeshi Miki <miki@cpan.org>

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Top


POE-Component-RemoteTail documentation Contained in the POE-Component-RemoteTail distribution.

package POE::Component::RemoteTail::Job;

use strict;
use warnings;

sub new {
    my $class = shift;
    my $self = bless {@_}, $class;
}

1;

__END__