Hi,

OK, I'm the new guy on the block so I thought I should probably
introduce myself.

I'm an Aussie Computer Scientist living and working in Munich,
Germany. While definitly being a Unix junkie, I also (have to) work
with Windoze, and at home I play around in the Mac world. So at best I
would call myself a "biased OS agnostic" :-)

As far as perl is concerned though, I'm pretty one-eyed. There just is
no substitute for the Real Thing [TM] :-)

Some of you may have met me at one of the German Perl Workshops,
otherwise I tend to be pretty quiet (what with having to concentrate
on what I get paid for, life and all that... :-)

Anyway, I've joined this list because over the last 10 years I've put
together several scripts which might be of use for others. My scripts
don't comply with the guidelines outlined on
http://www.cpan.org/scripts/submitting.html yet, so I've got a bit of
work to do before I can publish :-( That said, if any of you would
like to beta-test the scripts as they are now, maybe I could fix the
odd bug while I'm at it.

I've included a short description of the two scripts which I use most
below. If anyone would like to try them out let me know and I'll send
you the current version.

Looking forward to hear from you guys.

Steve

aligntext:
----------
    A script for automagically aligning code, tables, comments
    or anything else in blocks of ASCII text. ie:

        my $numbers = {
            'one' => 1, # a number
            'two' => 2, # another number
            'three' => 3,
            'fourtytwo' => 42, # THE answer
            'single' => 1, # a lonely number
            'double' => 2,# two's company
            'crowd' => 1000, # the cast of Ben Hur?
            };

    can be turned into:

        my $numbers = {
                'one'       => 1,    # a number
                'two'       => 2,    # another number
                'three'     => 3,
                'fourtytwo' => 42,   # THE answer
                'single'    => 1,    # a lonely number
                'double'    => 2,    # two's company
                'crowd'     => 1000, # the cast of Ben Hur?
                };

    by piping the assignment lines (ie: '...' => ...,) through
    aligntext.

    Works great with vim's visual mode, but it shouldn't be a
    problem for emacs or hard-core vi users to use. Dunno about
    the various windows IDE's out there though :-)

dtree:
------
    works like 'ls' but graphically. I know there are hundreds of
    these things out there, but none on cpan (yet).
    Here's a short example:
        % dtree -f /opt/perl-5.6.1/lib/5.6.1/IO/
        /opt/perl-5.6.1/lib/5.6.1/IO/
        |-- Socket/
        |   |-- INET.pm
        |   |-- UNIX.pm

Reply via email to