Re: [Cooker] wine config tool for Mdk
On Fri, 21 Jun 2002 13:21, Ben Reser wrote: > On Fri, Jun 21, 2002 at 07:16:07AM +1000, Brendon Oliver wrote: > > In a single-quoted string: '\\' or q{\\} > > In a double-quoted string "" or qq{} > > Actually only the second set will work. single quotes don't have > variable interpolation but they still do have escaped characters like > \n. So is still required for single quotes. > > [breser@titanium breser]$ perl > print q{\\},$/ > __END__ > \ > [breser@titanium breser]$ perl > print q{},$/ > __END__ > \\ D'oh! That's what i get for replying before checking (note to self - put brain in gear first!)
Re: [Cooker] wine config tool for Mdk
On Fri, Jun 21, 2002 at 07:16:07AM +1000, Brendon Oliver wrote: > In a single-quoted string:'\\' or q{\\} > In a double-quoted string "" or qq{} Actually only the second set will work. single quotes don't have variable interpolation but they still do have escaped characters like \n. So is still required for single quotes. [breser@titanium breser]$ perl print q{\\},$/ __END__ \ [breser@titanium breser]$ perl print q{},$/ __END__ \\ -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: [Cooker] wine config tool for Mdk
On Fri, 21 Jun 2002 04:10, Florent BERANGER wrote: > Hi, > > I'm writing a wine config tool for Mdk. > I've just a problem : how to print "\\" in perl ? In a single-quoted string: '\\' or q{\\} In a double-quoted string "" or qq{} Regards, - Brendon.
[Cooker] wine config tool for Mdk
Hi, I'm writing a wine config tool for Mdk. I've just a problem : how to print "\\" in perl ? Without it, it works (I've tried with some Win32 apps) ! Thanks for your help ! -- Profitez de l'offre exceptionnelle Tiscali ! "Internet Gratuit le Jour" Cliquez ici, http://register.tiscali.fr/forfaits_ls/ Offre soumise à conditions.