At 01:10 PM 05-21-2002 -0400, Aaron Sherman wrote:
>On Tue, 2002-05-21 at 12:57, Michael G Schwern wrote:
>
> > Here's an easier one: backslash followed by the delimiter is that thing.
> > Everything else is literal.
> >
> >     print 'c:\it\'s\easier\to\write\win32\paths\this\way';
> >     print q{this is ok { and so is \} } C:\this };
>
>I desire you print your statement above. Would it be:
>
>     print 'print \'c:\it\\'s\easier\to\write...\';';
>
>The quesiton here is that C<\\'>, which means something different in
>your recommendation than it means in Perl5, but still does the same
>thing....

And the other question is how to get a string that ends in a \?

$hiddendirectory = q{C:\$ecret$tuff\mp3\don't tell the mpaa\};


>Is there any gotcha, here? I'm not sure, but it's tickling my brain in
>an odd way, and I keep wanting to say that it breaks down somewhere....

Is the above the gotcha you've been looking for?

Reply via email to