bug-bash
[Top][All Lists]
Advanced

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

Re: here document and STDIN


From: Paul Jarc
Subject: Re: here document and STDIN
Date: Tue, 23 May 2006 14:17:55 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

"Cai Qian" <address@hidden> wrote:
> The information is helpful. The problem by using
>
> perl -e '
>    XXXXX
> '
>
> is that there seems no way to using single quota in Perl code any more.

It's not very concise, but you can do this:

perl -e '
    ... '\'' ...
'

>From the shell's point of view, this is a single-quoted string,
adjacent to a backslash-escaped single quote, adjacent to another
single-quoted string.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]