Rand Stats

Package::Updates

github:ramiroencinas

Package::Updates

Build Status

Provides a hash including package updates from the most popular package managers.

Package managers supported:

Getting the updates:

The updates we get through the subroutine get-updates() that returns a hash. Each element of this hash includes:

Windows Update considerations:

Permisions considerations:

The script that call this module must be run by a user with administrative or root privileges.

Installing the module:

with zef:
  zef update
  zef install Package::Updates

with Panda:
  panda update
  panda install Package::Updates

Example Usage:

use v6;
use Package::Updates;

my %updates = get-updates();

for %updates.sort(*.key)>>.kv -> ($name, $data) {
  say "Packet name: $name Current: $data<current> New: $data<new>";
}