Changeset 24616 for trunk/console
- Timestamp:
- Jun 26, 2009, 4:26:43 PM (17 years ago)
- Location:
- trunk/console
- Files:
-
- 1 added
- 2 edited
- 1 moved
-
MANIFEST (modified) (1 diff)
-
lib/Console.pm (modified) (2 diffs)
-
t/00_distribution.t (added)
-
t/01_load.t (moved) (moved from trunk/console/t/001_load.t ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/MANIFEST
r24613 r24616 10 10 scripts/console-config 11 11 scripts/console-ipp-defaults 12 t/001_load.t 12 t/00_distribution.t 13 t/01_load.t -
trunk/console/lib/Console.pm
r24610 r24616 1 # Copyright (C) 2009 Joshua Hoblitt 2 1 3 package Console; 2 4 … … 87 89 88 90 1; 91 92 __END__ 93 94 =pod 95 96 =head1 NAME 97 98 Console - rcfile management for the 'console' util 99 100 =head1 SYNOPSIS 101 102 use Console; 103 104 my $rcfile = Console::find_rcfile; 105 my $c = Console::read_rcfile($rcfile); 106 Console::add_host(config => $c, console => $con, hostname => $h); 107 Console::delete_host(config => $c, hostname => $h); 108 109 =head1 DESCRIPTION 110 111 =head1 CREDITS 112 113 Just me, myself, and I. 114 115 =head1 SUPPORT 116 117 Please contact the author directly via e-mail. 118 119 =head1 AUTHOR 120 121 Joshua Hoblitt <jhoblitt@cpan.org> 122 123 =head1 COPYRIGHT 124 125 Copyright (C) 2009 Joshua Hoblitt. All rights reserved. 126 127 This program is free software; you can redistribute it and/or modify it under 128 the terms of the GNU General Public License as published by the Free Software 129 Foundation; either version 2 of the License, or (at your option) any later 130 version. 131 132 This program is distributed in the hope that it will be useful, but WITHOUT ANY 133 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 134 PARTICULAR PURPOSE. See the GNU General Public License for more details. 135 136 You should have received a copy of the GNU General Public License along with 137 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 138 Place - Suite 330, Boston, MA 02111-1307, USA. 139 140 The full text of the license can be found in the LICENSE file included with 141 this module, or in the L<perlgpl> Pod as supplied with Perl 5.8.1 and later. 142 143 =head1 SEE ALSO 144 145 L<Config::YAML> -
trunk/console/t/01_load.t
r24614 r24616 1 # -*- perl -*-1 #!/usr/bin/perl 2 2 3 # t/001_load.t - check module loading and create testing directory3 # Copryight (C) 2009 Joshua Hoblitt 4 4 5 use Test::More tests => 2; 5 use strict; 6 use warnings FATAL => qw( all ); 6 7 7 BEGIN { use_ok( 'console' ); } 8 use lib qw( ./t ./lib ); 8 9 9 my $object = console->new (); 10 isa_ok ($object, 'console'); 10 use Test::More tests => 1; 11 11 12 12 BEGIN { use_ok( 'Console' ); }
Note:
See TracChangeset
for help on using the changeset viewer.
