in reply to Re^3: Google has failed me! Using pack and substr for fixed width file output
in thread Google has failed me! Using pack and substr for fixed width file output

It sounds like you really need to take that abstraction one step further and make a module for all your scripts to use.

Gee, I wonder if such a library might already exist...

  • Comment on Re^4: Google has failed me! Using pack and substr for fixed width file output

Replies are listed 'Best First'.
Re^5: Google has failed me! Using pack and substr for fixed width file output
by kcott (Archbishop) on Apr 10, 2014 at 21:34 UTC
    "Gee, I wonder if such a library might already exist..."

    Given the plethora of modules available on CPAN, this is quite likely.

    However, the main thrusts of my post were:

    • To explain why a module would be a good idea.
    • To show how existing code could be used as the basis for creating a module.
    • To show how existing code might be rewritten to use this module.

    -- Ken