1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package MDV::Draklive::Live; use MDK::Common; sub new { my ($class) = @_; bless {}, $class; } sub get_name { my ($live) = @_; join('-', grep { $_ } @{$live->{settings}}{qw(name product version desktop region media arch)}); } 1;