Vend::Ship::Postal(3pm) User Contributed Perl Documentation Vend::Ship::Postal(3pm)NAME
Vend::Ship::Postal -- Calculate US Postal service international rates
SYNOPSIS
(in catalog.cfg)
Database usps ship/usps.txt TAB
Database air_pp ship/air_pp.txt TAB
Database surf_pp ship/surf_pp.txt TAB
(in shipping.asc)
air_pp: US Postal Air Parcel
crit weight
min 0
max 0
cost e No shipping needed!
at_least 4
adder 1
aggregate 70
table air_pp
min 0
max 1000
cost s Postal
min 70
max 9999999
cost e Too heavy for Air Parcel
surf_pp: US Postal Surface Parcel
crit weight
min 0
max 0
cost e No shipping needed!
at_least 4
adder 1
aggregate 70
table surf_pp
min 0
max 1000
cost s Postal
min 70
max 9999999
cost e Too heavy for Postal Parcel
DESCRIPTION
Looks up a service zone by country in the "usps" table, then looks in the appropriate rate table for a price by that zone.
Can aggregate shipments greater than 70 pounds by assuming you will ship multiple 70-pound packages (plus one package with the remainder).
perl v5.14.2 2010-03-25 Vend::Ship::Postal(3pm)
Check Out this Related Man Page
Vend::Table::Editor(3pm) User Contributed Perl Documentation Vend::Table::Editor(3pm)NAME
Vend::Table::Editor -- Interchange do-all HTML table editor
SYNOPSIS
[table-editor OPTIONS]
[table-editor OPTIONS] TEMPLATE [/table-editor]
DESCRIPTION
The [table-editor] tag produces an HTML form that edits a database table or collects values for a "wizard". It is extremely configurable as
to display and characteristics of the widgets used to collect the input.
The widget types are based on the Interchange "[display ...]" UserTag, which in turn is heavily based on the ITL core "[accessories ...]"
tag.
The "simplest" form of "[table-editor]" is:
[table-editor table=foo]
A page which contains only that tag will edit the table "foo", where "foo" is the name of an Interchange table to edit. If no "foo" table
is "defined", then nothing will be displayed.
If the "mv_metadata" entry "foo" is present, it is used as the definition for table display, including the fields to edit and labels for
sections of the form. If "ui_data_fields" is defined, this cancels fetch of the view and any breaks and labels must be defined with
"ui_break_before" and "ui_break_before_label". More on the view concept later.
A simple "wizard" can be made with:
[table-editor
wizard=1
ui_wizard_fields="foo bar"
mv_nextpage=wizard2
mv_prevpage=wizard_intro
]
The purpose of a "wizard" is to collect values from the user and place them in the $Values array. A next page value (option mv_nextpage)
must be defined to give a destination; if mv_prevpage is defined then a "Back" button is presented to allow paging backward in the wizard.
perl v5.14.2 2011-03-09 Vend::Table::Editor(3pm)
hello,
I have a fixed length file that has the following format
yyyymmdd X 99999999 9999999 9999999
yyyymmdd X 99999999 9999999 9999999
I have included spaces in the format to delineate the values that I am interested in. However in the actual file there are no spaces, just continguous... (5 Replies)
I have a file of 1000 rows , I need to format it to be coulmn seperatred by TAB , and print it
Ex:
12345
12345
12343
32232
23432
34242
43224
to like
12345 TAB 12345
12343 TAB 32232
23432 TAB 34242
43224 TAB .........
Thanks alot for your helping and care... (9 Replies)
Hi All,
Please advise . Welcome more suggestions.
For examples, I have 1000 file with prefix x??? In fact, I want to convert them to x???.txt with max 10 files at a time. As such, I will need to call another script to read from those 10 *txt files and sleep 5000 to convert the next 10 again.... (10 Replies)
hi, i have an awk script and I managed to figure out how to search the max value but Im having difficulty in searching for the min field value.
BEGIN {FS=","; max=0}
NF == 7 {if (max < $6) max = $6;}
END { print man, min}
where $6 is the column of a field separated by a comma (3 Replies)
Hi,
How to retrieve two different date values(min & max) from the oracle table and assign to two different variables in the shell script to process further.
With Regards (8 Replies)
I am trying to work with a text file which has following format and trying ti run if elseif loop but fails. Any help is appreciated
289B ship N-grp 123
289C ship N-grp 123
289D ship N-grp 123
2CE1 flight N-grp 123
2CE2 flight N-grp 123
2CE3 flight N-grp 123
2CE4 flight N-grp 123
2DAF... (4 Replies)
Hi,
I have a text file containing numbers. There are up to 6 numbers per row and I need to read them, check if they are 0 and if they are not zero check if they are within a given interval (min,max). If they exceed the max or min they should be set to max or min respectively, if they are in the... (4 Replies)
Hi Experts,
can guide how we can Update a Database Table using a txt file source Using
Unix Shell Scripts.
What are the Cron Jobs codes can written to Update DB table.
txt file contains record like data.
US 09/03/2012 User DocType DocID.
these above feilds in txt files need to be updated in... (4 Replies)
Hello Experts,
I have got a txt files which has multiple columns, I want to get the max, min and diff (max-min) for each column in the same txt file. Example:
cat file.txt
a 1 4
b 2 5
c 3 6
I want ouput like:
cat file.txt
a 1 4
b 2 5
c 3 6
Max 3 6
Min 1 4
Diff 2 2
awk 'min=="" ||... (4 Replies)
I have a system with the following settings:
min:0.10
Assigned: 2.0
Max: 6.0
Partition is uncapped weight is 128.
I would like to know if even if this is uncapped, is the max it can use 6?
The actual pool has 16.
I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Hi,
I need your kind help to get min and max values from file based on value in $5 .
File1
SP12.3 stc 2240806 2240808 + ID1_N003 ID2_N003T0
SP12.3 sto 2241682 2241684 + ID1_N003 ID2_N003T0
SP12.3 XE 2239943 2240011 + ID1_N003 ID2_N003T0
SP12.3 XE 2240077 2241254 + ID1_N003 ... (12 Replies)
Hi,
I have input file whose first column needs(match.txt) to be matched with the first column of the input file with min & max length as defined in match.txt. But conditions are not matching. Please help on the changes in the code below as for multiple enteries in match.txt complete match.txt will... (3 Replies)
I am trying to get a simple min/max script to work with the below input. Note the special character (">") within it.
Script
awk 'BEGIN{max=0}{if(($1)>max) max=($1)}END {print max}'
awk 'BEGIN{min=0}{if(($2)<min) min=($2)}END {print min}'
Input
-122.2840 42.0009
-119.9950 ... (7 Replies)