use strict;require Zen::Config;require Zen::Config::Hash;my $h = Zen::Config::Hash->createAndLoad(main => Zen::Config::Hash->createAndLoad("PluginTitle" => "US Postal Service",),settings_controls => Zen::Config::Hash->createAndLoad("userid" => "text(20)","apiurl" => "text(60)","service" => "enumlist(select,::,FIRST CLASS::PRIORITY::PRIORITY COMMERCIAL::EXPRESS::EXPRESS COMMERCIAL::EXPRESS SH::EXPRESS SH COMMERCIAL::EXPRESS HFP::EXPRESS HFP COMMERCIAL::PARCEL::MEDIA::LIBRARY)","first_class_mail_type" => "enumlist(select,::,LETTER::FLAT::PARCEL)","pounds" => "text(15)","ounces" => "text(15)","size" => "enumlist(select,::,REGULAR::LARGE::OVERSIZE)","machinable" => "checkbox","print_shipping_label" => "checkbox","image_type" => "enumlist(select,::,GIF::PDF)",),settings_titles => Zen::Config::Hash->createAndLoad("userid" => "USPS User ID","apiurl" => "Shipping API server URL","service" => "Mail service","first_class_mail_type" => "First class mail type (Required for 'FIRST CLASS' Mail service)","pounds" => "Weight of a package:<br> pounds","ounces" => "and ounces","size" => "Size of a package<div style=\"font-size:80%; padding-top:3px;\">REGULAR - package length plus girth is 84 inches or less<br>LARGE - package length plus girth measure more than 84 inches but not more than 108 inches<br>OVERSIZE - package length plus girth is more than 108 but not more than 130 inches</div>","machinable" => "Machinable","print_shipping_label" => "Use shipping labels","image_type" => "Desired type of a label image ",),messages => Zen::Config::Hash->createAndLoad("config.error.empty_userid" => "Please, define your USPS User ID","config.error.empty_apiurl" => "Please, define your Shipping API server URL","config.error.empty_weight" => "Please, define weight of a package in pounds and ounces","config.error.invalid_weight" => "Invalid weight value. Correct value would be a number or a number followed by decimal point and one or two digits","config.error.invalid_sender_zipcode" => "Sender address parameters gets from your account. You have invalid zip code value, it's must be 5 digits length.","config.error.invalid_sender_address" => "The following sender address parameters are required: Name, Address, City, State, Zip code. Please make sure that all these parameters are defined in your account settings.","process.mail_subject" => "Shipping label for order #%s","process.mail_text" => "Here is your shipping label for order #%s.",),);$h;