NAME
App::Netsync::Scribe - I/O framework
DESCRIPTION
This package handles I/O automatically.
SYNOPSIS
use App::Netsync::Scribe;
print timestamp;
note('foo.txt','Don't stamp this note.',0);
METHODS
timestamp
returns an string representing the current time
Arguments
( [ $format ] )
- format
-
the POSIX time-string format to use
default: '%Y-%m-%d-%H:%M:%S'
note
writes to a specified file and optionally including a timestamp
Arguments
( $file , $note [, $stamp [, $mode ] ] )
- file
-
the file to write to
- note
-
the string to write
- stamp
-
whether to timestamp the note
default: 1
- mode
-
the method to use when opening the file (if it hasn't been opened already)
default: '>>'
AUTHOR
David Tucker, <dmtucker at ucsc.edu>
BUGS
Please report any bugs or feature requests to bug-netsync at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Netsync. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc App::Netsync
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE
Copyright 2013 David Tucker.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.