NAME
GID::IO - IO functions of GID, like dir() and file()
VERSION
version 0.003
SYNOPSIS
use GID::IO;
my $dir = dir('/home/foo');
my $file = $dir->file('bar.txt');
my $other_file = file('some','path','foobar.txt');
my $tempdir = tempdir;
my $tempfile = tempfile;
my $other_tempfile = $tempdir->tempfile;
$other_tempfile->spew('I will disappear');
$file->touch;
my $subdir = $dir->mkdir('foobar');
$subdir->rmrf;
$dir->files(sub {
print "Filename in $dir: $_\n";
});
print "$dir not empty" unless $dir->rm;
$file->rm;
DESCRIPTION
AUTHOR
Torsten Raudssus <torsten@raudss.us>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.