[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 04:55:40PM +0200, Marek ?aska wrote:
> 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.
[...]

  $ perl -e 'print "foo@bar.com\n"'
  foo.com

Denis



Reply to: