Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 29. marec 2024

Súbor: [Platon] / iotta / Iotta / Input / RCS.pm (stiahnutie)

Revízia 1.1.1.1, Sun Feb 16 15:48:12 2003 UTC (21 years, 1 month ago) by yenar


Zmeny od 1.1: +0 -0 [lines]

initial import of iotta into platon cvs

package Iotta::Input::RCS;
use strict;
require Iotta::Elem;
our @ISA = ("Iotta::Elem");

sub run {
    my $self = shift;
    my $meta = shift;
    my $data;
    my $file = $$meta{input};
    $$meta{input} =~ s/,v$//;
    print STDERR "  loading...\n";
    open (FILE, "co -p $file 2> /dev/null |") || return 1;
    while (<FILE>) {
        $data .= $_;
    }
    close FILE;
    $self->next->run ($meta, $data) if ($self->next);
    return 0;
}

#sub initialize {
#    my $self = shift;
#    $self->SUPER::initialize (@_);
#}

1;

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok