package WebBack::Options; use strict; use Digest::MD5 qw(md5 md5_base64); BEGIN { use Exporter (); our ( $VERSION, @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS ); $VERSION = 0.05; @ISA = qw(Exporter); @EXPORT = ( ); %EXPORT_TAGS = ( ); @EXPORT_OK = ( ); } our @EXPORT_OK; sub new { my $type = shift; my $request = shift; my $self = bless { @_ }; $self->{URL} = $request->url( -relative => 1 ); $self->{mode} = $request->param( "mode" ); return $self; } sub update { my $self = shift; my $request = shift; } sub show { my $self = shift; my $colors = shift; print "\n"; print "