Thanks for the advice. I liked your matching idea - which I thought was promising but unfortunately it didn't seem to work any better than the eq. I have a print out of the variables I use for validation and it shows me that my match isn't working:
DE: 1002179816
DEDATE: 2009-5-4
OP# 996115
SO# 63170867
0 LINE# 1
1 QTY: 2
2 MODEL: CX-4PDAE-FD
3 DESC: 4G DAE FIELD INSTALL
4 UNIT: EA
5 LIST PRICE: 11800
6 DISCOUNT: 0.000
7 SELL PRICE: 0000
8 REP FLOOR: 0000
9 DM FLOOR: 0000
10 COST: 0000
11 MARGIN: 0.0000
12 MAINTENANCE: 0000
13 COMMENT: Seattle CX3-20 Expansion (30x300 15K)
14 SERIAL# 0
15 BU: IT
16 UPGRADE? 0
17 DEAL# 0
#14 should be a serial number such as APM1233432445. #16 should be a 1. Looks like there is something a little more complicated a foot. Thanks!
Hagen
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.