-
-
15 Nov 2009 13:12:07 UTC
- Distribution: Parse-ExuberantCTags-Merge
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (512 / 0 / 0)
- Kwalitee
Bus factor: 0- 88.65% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (8.27KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Class::XSAccessor
- File::Copy
- File::Temp
- Getopt::Long
- Sort::External
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Parse::ExuberantCTags::Merge::SimpleScopeGuard - A simple-minded scope guard for cleanup
SYNOPSIS
use Parse::ExuberantCTags::Merge::SimpleScopeGuard; { my $guard = Parse::ExuberantCTags::Merge::SimpleScopeGuard->new( files => [qw/to be cleaned up/], ); # ... } # files deleted.
DESCRIPTION
For internal use only.
METHODS
new
Constructor, may take
files
parameter with an array reference of file names/paths. Make sure that these are either absolute paths or that you're still in the same working directory when the scope guard fires.files
Set a new bunch of files to guard.
add_files
Takes one or more file names as argument and appends to the list of guarded files.
cleanup
Delete the guarded files
DESTROY
Calls
cleanup
on object destruction.SEE ALSO
and many more on CPAN.
AUTHOR
Steffen Mueller, <smueller@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Steffen Mueller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Parse::ExuberantCTags::Merge, copy and paste the appropriate command in to your terminal.
cpanm Parse::ExuberantCTags::Merge
perl -MCPAN -e shell install Parse::ExuberantCTags::Merge
For more information on module installation, please visit the detailed CPAN module installation guide.