in reply to Re: Naming a module that extracts subsets of a Linux system
in thread Naming a module that extracts subsets of a Linux system

I like the Export verb. Strong parallels to exporting subs from a module, which is very much like exporting binaries from a system image.

Combined with Grandfather's 'Sys' observation, I'm liking Sys::Export::Linux or Sys::Exporter::Linux.

Replies are listed 'Best First'.
Re^3: Naming a module that extracts subsets of a Linux system
by cavac (Prior) on Jan 16, 2025 at 08:55 UTC

    Hmm, for future proofing, it might be interesting to use a base/factory class like Sys::Exporter that then either automatically or manually selects the correct backend like Sys::Exporter::Linux and stuff. That way, it could also support cross-platform builds.

    use Sys::Exporter; # Automatic detection/configuration my $exporter = Sys::Exporter->new(); # Prepare a cross-platform export my $exporter = Sys::Exporter->new( OS => 'FreeBSD', rootdir => '/mnt/freebsd', libtools => '/home/nerdvana/crossplatformldd', );

    I'm not specific about a name, but putting the OS as the last element of the name instead the first makes sense to me.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
    Also check out my sisters artwork and my weekly webcomics