Think about Loose Coupling | |
PerlMonks |
Re^4: Formattingby mrxg4 (Initiate) |
on Jul 11, 2004 at 21:56 UTC ( [id://373518]=note: print w/replies, xml ) | Need Help?? |
Thanks again!
Just got 2 questions that have arisen and should be easy to do now that you have kindly provided me with this script. First, the simplest, how do I add the '#' as one of the first characters to check? I have tried adding another one of those blocks, but as you know Perl's comment character is #. Adding "\#" didn't help either. How can I express this in a way that will work without Perl interpreting it as a comment? And lastly, how can I make the "K" statements be separated as "Perl,%Monks,%Is,%Cool"? I've experimented with adding a ",". For example: my $tag = { K => { open => ',%', close => '', block => 1, block_open => '<p>', block_close => '</p>' But as you probably realized, this has a nasty habit of adding an extra "," even to the first statement, as in ,%Perl,%Monks,%Is,%Cool . I want you to know that I really appreciate the help you have provided so far, since I'm very close to having this finished and saving me tons of future hours :) Best Regards, Marcos
In Section
Seekers of Perl Wisdom
|
|