Re: [QUIZ] Perl 'Hard' Quiz of the Week #2005-04-26 - A Preprocessor for CSS Files
Shlomi Fish <shlomif-ik1l9ssToec+JF/[email protected]> Wed, 27 Apr 2005 12:05:37 +0300
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 27 April 2005 06:39, Ronald J Kimball wrote:
> On Tue, Apr 26, 2005 at 10:30:10PM +0300, Shlomi Fish wrote:
> > 15. {$# .... } is a comment.
>
> Should that be ${# .... } ?
> Anyway, doesn't CSS already have comments?
Yes, it should be ${# .... } (that was a typo).
Aside from that one thing I've overlooked is the fact that the preprocessor
should pass CSS Comments as are. So if we have the following CSS fragment:
/*
${print "Hello"}
*/
It will be passed as:
/*
${print "Hello"}
*/
Regards,
Shlomi Fish
---------------------------------------------------------------------
Shlomi Fish shlomif-ik1l9ssToec+JF/[email protected]
Homepage: http://www.shlomifish.org/
Hacker sees bug. Hacker fixes bug.