My apologies for posting bad code, the result you see above was a feeble attempt to see where I was going wrong because I was not receiving the results I was expecting. I apologise for this, my original code read:
my @sub_locs = map { s/taxman.add.subloc.// } @session_keys;
While I read up on most of the posts, the perldocs and looked at the examples in the camel book, the concept must have missed me by a mile. Thanks for clarifying, I am aware of the dots though for some reason I didn't escape them, I guess I got lazy since I used to escape them in previous code I've written, though I haven't experienced any funky results by not escaping them yet.
BlackJudas
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.