NAME

RBTMU.pm

SYNOPSIS

Extension to Schedule::Depend, overloads unalias method to automated loading data via Red Brick TMU. Unalias checks for gzip-ed files, deals with them automatically.

Same calling conventions as Schedule::Depend

e.g.,

	#!/usr/bin/perl -w

	use RBTMU;

	# either find them by name, directory or 
	# have the list of files hard-coded.

	my @dimz  = <dim*>;
	my @factz = <fact*>;

 	my @sched = ();

	push @sched, join ' ', @factz, ':', @dimz;

	# add non-dependency items.

	push @sched, 'verbose	= 1';
	push @sched, 'logdir	= /var/rblogs';
	push @sched, 'rundir	= /var/rbpids';

	my $todo = join "\n", @sched;

	if( my $loader = RBTMU->prepare($todo)->debug )
	{
		eval { $loader->execute };

		die "Failed to execute: $@" if $@;
	}
	else
	{
		die "Unable to prepare schedule: $!";
	}

	0
	__END__

Steven Lembark slembark@knightsbridge.com

Same terms as Perl itself.

perl(1)

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 52:

Unknown directive: =AUTHOR

Around line 57:

Unknown directive: =COPYRIGHT

Around line 61:

Unknown directive: =SEE