Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
d9b45b24
Commit
d9b45b24
authored
Nov 25, 2016
by
Francesc Guasch
Browse files
[#62] returns module version
parent
15ac699f
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
d9b45b24
...
...
@@ -3,6 +3,8 @@ package Ravada;
use
warnings
;
use
strict
;
our
$VERSION
=
'
0.1.0
';
use
Carp
qw(carp croak)
;
use
Data::
Dumper
;
use
DBIx::
Connector
;
...
...
@@ -1030,6 +1032,16 @@ sub import_domain {
return
$vm
->
import_domain
(
$name
,
$user
);
}
=head2 version
Returns the version of the module
=cut
sub
version
{
return
$VERSION
;
}
=head1 AUTHOR
...
...
lib/Ravada/Front.pm
View file @
d9b45b24
...
...
@@ -500,4 +500,14 @@ sub disconnect_vm {
%VM
=
();
}
=head2 version
Returns the version of the main module
=cut
sub
version
{
return
Ravada::
version
();
}
1
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment