diff options
-rw-r--r-- | lib/VServer.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VServer.pm b/lib/VServer.pm index a5515e3..c0ba688 100644 --- a/lib/VServer.pm +++ b/lib/VServer.pm @@ -1,12 +1,12 @@ #!/usr/bin/perl -T package VServer; -our $VERSION = '1.2'; +our $VERSION = '1.3'; use strict; use warnings; -sub get_context_id($) { +sub get_context_id_by_name($) { my $vserver = shift; if ($vserver =~ /^([-a-z0-9._]*)$/) { $vserver = $1; @@ -87,7 +87,7 @@ external tools like I<vuname>. =over 4 -=item B<get_context_id($vserver_name)> +=item B<get_context_id_by_name($vserver_name)> Returns the context id for a vserver given by its name. If an invalid name is supplied or any other error occurs, B<undef> |