It would seem that 'n/a' just shows up whenever it can't grok what is going on. It could be a defect in the Netsol.pm parsing module, which can occur when data is misaligned. Here's the juicy bit from that module:
sub regex_created { '^Record created on (.*).$' }
sub regex_expires { '^Record expires on (.*).$' }
Personally, I'd put
\s* wherever there
could be space-like characters, since you never really know what they're going to think of doing next. Stuff tends to float. You've practically got to assume that where there is one space, there might be dozens. This might be better written as:
sub regex_created { '^\s*Record created on\s+(.*).' }
sub regex_expires { '^\s*Record expires on\s+(.*).' }
There's no trimming going on either, apparently:
my $text = $self->_send_to_sock( $sock );
# ...
$self->parse_text($text);
No evidence of
s/^\s+//, which I would've figured had to be in there somewhere since
Netsol records are typically indented with spaces.
I had a program that used to parse these things into little pieces, tearing apart even the address into city, state, zip, with a high degree of accuracy. I wonder if it's still workable.
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.