The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Hobocamp - Moose-based interface to dialog (simple text based GUI)

VERSION

version 0.600

SYNOPSIS

    use Hobocamp;

    my $main = Hobocamp->new->init; # prep terminal

    my $menu = Hobocamp::Menu->new; # pass in options...

    $menu->run;

    print 'You selected: ', $menu->value->{'name'};

    # ...

    $main->destroy; # restores terminal

DESCRIPTION

Hobocamp is for building simple console user interfaces through dialog(1) in an object oriented way via Moose. Hobocamp::Dialog is a library with a near 1 to 1 interface of dialog(1)s interface. You can use this independently of the object oriented way.

This class is used to initialize and destroy the dialog(1) interface. Additionally auto imports all the widgets into the calling name space.

Currently Hobocamp::Dialog has the most documentation.

WHATS A HOBOCAMP?

Not sure, but you could try asking the writers of "Strangers With Candy".

urbandictionary.com had this to say:

    A catchall for words that one doesn't know how to spell. Interchangeable
    with fandango.

    Coach Wulf: "Um, Jerri, what does V-I-C-T-O-R-Y spell?"

    Jerri: "Fandango...? No, hobocamp. Hobocamp!"

I'm terrible at spelling, so this name is adequate. I do want to give a big shout out to Emacs' flyspell-prog-mode and Test::Spelling for catching my mistakes while developing this.

CURRENT CAVEATS

  • Missing widgets: dialog_form, dialog_gauge, dialog_mixedform, dialog_mixedgauge, dialog_progressbox, dialog_tailbox

  • Requires Perl 5.12.2 (until I can test on other versions).

  • I'm happy with the API, but I may not be tomorrow so consider it close enough.

  • Documentation is a little lacking.

SEE ALSO

AUTHOR

Adam Flott <adam@npjh.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Adam Flott <adam@npjh.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.