Hi perl monks, newbie here so please be gentle.... been working with perl for a few years so not a total novice. Slightly above that ;)
I think I've figured out the solution but just wanted to bounce it off the knowledgeable monks.
Problem: I'm using nested macros and the string I'm passing to one macro is then used as an input to another. The challenge I believe I'm facing is that the double quotes are stripped at the first level and therefore at the second level the input is basically truncated at the first space.
e.g. macro1 "This is the input string to macro 2" macro2 then uses this string to call another and sends macro2 This is the input string to macro 2... therefore realistically whats passed is "macro2 This". What I believe is the solution is to either double double quote of qq. e.g. macro1 qq"This is the input string to macro 2" or macro1 "\"This is the input string to macro 2\"" Anyone else overcome similar issues to this? Thanks monksIn reply to Double double quoting - nested macro calls by kenm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |