#!/usr/bin/perl # simplified milkbone shell use 5.006; # milkbone might work on 5.004 or lower; someone should find out... use warnings; use strict; use lib 'lib'; use lib '.'; use Milkbone; $| = 1; sub main { Milkbone->init(); hook("load_options", -file => 'mosh.conf'); hook("load_plugins"); hook("pre_mainloop"); hook("create_logon_prompt"); MOSLoop; hook("post_mainloop"); } # off it goes... main();