Comment 1 for bug 509240

Revision history for this message
Iain Buclaw (iainb) wrote :

Actually they are exactly the same - in both releases, but point taken.

One answer could be create another function:
my %distroCmd = (
 "Debian" => \&debian,
 "Fedora" => \&fedora,
 "Ubuntu" => \&ubuntu,
);

sub debian {
  system('sudo apt-get install libpoe-component-irc-perl sqlite sqlite3');
 system('sudo cpan ...');
}

But tbh - a the current method of doing it will only get you so far...