No devx loaded.h2-1 wrote:It looks like maybe stock Puppy ships without core features for Perl, that's not something I can fix. glob is a required tool, it can't work without it. I can work around individual core modules missing like Sys::Hostname but I can't work around actual core features not being present. Perl without core features/modules isn't very useful, so I'll leave this up to Puppy packagers, and make a note about the issue. Glob isn't a module, it's a function in Perl, it's part of perl itself, so if that is missing, there's nothing I can do beyond suggest the required devx package is added as a dependency of inxi in Puppy.
perdido, your example shows two possible bugs, first, a failure to show a charge of 0, that's an easy mistake to make in Perl, that should be corrected in 2.9.00-424-p
Second is something I've seen in two sets of output, and I can probably fix if someone whose pinxi optical drives show:
/dev/scd0 /dev/scd1 and so on. Those are links to the real /dev locations, and I can tell from the following what is happening there if you paste and run the following code in a terminal, and then show me the output:
That is a link, which could be seen in the dev-links in the /dev/sr0 devices lines, so it's possible there's some small change in the output that the programming isn't handling.Code: Select all
perl -ws -e 'my $f=readlink("/dev/scd0");print "$f\n";'
Code: Select all
# perl -ws -e 'my $f=readlink("/dev/scd0");print "$f\n";'
sr0
#
For what its worth, the drives in puppy linux are in /mnt/ and not /dev/
.