The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Range::Compare::Stream::Iterator::File::Temp - Shared temp file interface

SYNOPSIS

  package MyPacakge;

  use strict;
  use warnings;

  use base(Data::Range::Compare::Stream::Iterator::File::Temp);

  1;

DESCRIPTION

This module provides a shared temp file generating interface.

extending this class

All classes that extend this class gain 1 additional argument to the constructor interface.

Optional argument list extension:

  tmpdir=>undef|'/some/folder'
    # tmpdir is defined its value is passed to to File::Temp->new(DIR=>$self->{tmpdir});

OO Methods

  • my $tmp_file=$instance->get_temp(key=>value);

    For a full list of valid arguments see File::Temp. All arguments are passed to File::Temp->new(key=>value).

SEE ALSO

Data::Range::Compare::Stream::Cookbook

AUTHOR

Michael Shipper

Source-Forge Project

As of version 0.001 the Project has been moved to Source-Forge.net

Data Range Compare https://sourceforge.net/projects/data-range-comp/

COPYRIGHT

Copyright 2011 Michael Shipper. All rights reserved.

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