[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new translator section in debian::weeklynews::footer



On Wed, Jun 25., 2003 at 15:40, Colin Watson wrote:
> On Wed, Jun 25, 2003 at 02:56:56PM +0200, Josip Rodin wrote:
> > On Tue, Jun 24, 2003 at 10:22:15PM +0200, Marek ??aska wrote:
> > > One thing interests me. You run it just as editor, it means:
> > > #use debian::weeklynews::footer translator="Mr. Foo the
> > > Foot<foot@foo.com>" And it should produce
> > > bla...bla..bla... <a href="mailto:foot@foo.com";>Mr. Foo the Foot</a>.
> > > but it makes
> > > bla...bla...bla...<a href="mailto:foo.com";>Mr.Foo the Foot</a>.
> > > This is of course wrong. I don't know where it loses "@".
> >
> > @foo means array named foo in Perl. You probably need to surround it
> > with \Q and \E.
>
> Or just backslash the @?
I know that... I just mean, that it's not possible to write @foo directly in 
wml. I with backslashed @ it doesn't work. I think it is not Perl's thing, 
because when Perl gets @ it string, it is interpreted like a normal 
character. I think it's somewhere between WML->Perl, becuase in Perl code 
this @ is not being modified, only the address between < and > is being 
substringed and inserted into "mailto:"; thing...
That's how I see it. Even if You are right, and it's the thing about the 
Perl's array, it's not possible to make the program understand it, just 
someone who is making the WML document has to remember it. Am I right?
Greets
Marek



Reply to: