-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adam M Dutko
committed
Jan 24, 2013
1 parent
30d933d
commit 3f2c8bc
Showing
7 changed files
with
167 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Revision history for Perl extension Pipette. | ||
|
||
0.01 Wed Jan 23 19:43:08 2013 | ||
- original version; created by h2xs 1.23 with options | ||
-b 5.5.3 -AX Pipette | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Changes | ||
Makefile.PL | ||
MANIFEST | ||
README | ||
t/Pipette.t | ||
lib/Pipette.pm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use 5.00503; | ||
use ExtUtils::MakeMaker; | ||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence | ||
# the contents of the Makefile that is written. | ||
WriteMakefile( | ||
NAME => 'Pipette', | ||
VERSION_FROM => 'lib/Pipette.pm', # finds $VERSION | ||
PREREQ_PM => {'Test' => 0, }, # e.g., Module::Name => 1.1 | ||
($] >= 5.005 ? ## Add these new keywords supported since 5.005 | ||
(ABSTRACT_FROM => 'lib/Pipette.pm', # retrieve abstract from module | ||
AUTHOR => 'Adam M Dutko <[email protected]>') : ()), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,40 @@ | ||
Pipette | ||
======= | ||
Pipette version 0.01 | ||
==================== | ||
|
||
The README is used to introduce the module and provide instructions on | ||
how to install the module, any machine dependencies it may have (for | ||
example C compilers and installed libraries) and any other information | ||
that should be provided before the module is installed. | ||
|
||
A README file is required for CPAN modules since CPAN extracts the | ||
README file from a module distribution so that people browsing the | ||
archive can use it get an idea of the modules uses. It is usually a | ||
good idea to provide version information here so that people can | ||
decide whether fixes for the module are worth downloading. | ||
|
||
INSTALLATION | ||
|
||
To install this module type the following: | ||
|
||
perl Makefile.PL | ||
make | ||
make test | ||
make install | ||
|
||
DEPENDENCIES | ||
|
||
This module requires these other modules and libraries: | ||
|
||
Test | ||
|
||
COPYRIGHT AND LICENCE | ||
|
||
Put the correct copyright and licence information here. | ||
|
||
Copyright (C) 2013 by Adam M Dutko | ||
|
||
This library is free software; you can redistribute it and/or modify | ||
it under the same terms as Perl itself, either Perl version 5.12.4 or, | ||
at your option, any later version of Perl 5 you may have available. | ||
|
||
|
||
Pipette is a Perl module wrapped around the digitalocean.com Application Programming Interface (API). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
package Pipette; | ||
|
||
use 5.00503; | ||
use strict; | ||
|
||
require Exporter; | ||
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); | ||
@ISA = qw(Exporter); | ||
|
||
# Items to export into callers namespace by default. Note: do not export | ||
# names by default without a very good reason. Use EXPORT_OK instead. | ||
# Do not simply export all your public functions/methods/constants. | ||
|
||
# This allows declaration use Pipette ':all'; | ||
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK | ||
# will save memory. | ||
%EXPORT_TAGS = ( 'all' => [ qw( | ||
) ] ); | ||
|
||
@EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); | ||
|
||
@EXPORT = qw( | ||
); | ||
|
||
$VERSION = '0.01'; | ||
|
||
|
||
# Preloaded methods go here. | ||
|
||
1; | ||
__END__ | ||
# Below is stub documentation for your module. You'd better edit it! | ||
=head1 NAME | ||
Pipette - Perl extension for blah blah blah | ||
=head1 SYNOPSIS | ||
use Pipette; | ||
blah blah blah | ||
=head1 DESCRIPTION | ||
Stub documentation for Pipette, created by h2xs. It looks like the | ||
author of the extension was negligent enough to leave the stub | ||
unedited. | ||
Blah blah blah. | ||
=head2 EXPORT | ||
None by default. | ||
=head1 SEE ALSO | ||
Mention other useful documentation such as the documentation of | ||
related modules or operating system documentation (such as man pages | ||
in UNIX), or any relevant external documentation such as RFCs or | ||
standards. | ||
If you have a mailing list set up for your module, mention it here. | ||
If you have a web site set up for your module, mention it here. | ||
=head1 AUTHOR | ||
Adam M Dutko, E<lt>[email protected]E<gt> | ||
=head1 COPYRIGHT AND LICENSE | ||
Copyright (C) 2013 by Adam M Dutko | ||
This library is free software; you can redistribute it and/or modify | ||
it under the same terms as Perl itself, either Perl version 5.12.4 or, | ||
at your option, any later version of Perl 5 you may have available. | ||
=cut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Before `make install' is performed this script should be runnable with | ||
# `make test'. After `make install' it should work as `perl Pipette.t' | ||
|
||
######################### | ||
|
||
# change 'tests => 1' to 'tests => last_test_to_print'; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Test; | ||
BEGIN { plan tests => 1 }; | ||
use Pipette; | ||
ok(1); # If we made it this far, we're ok. | ||
|
||
######################### | ||
|
||
# Insert your test code below, the Test::More module is use()ed here so read | ||
# its man page ( perldoc Test::More ) for help writing this test script. | ||
|