in reply to how to assign empty single quotes into a string

Just for clarity - you want the value of $a to be a string containing two single-quote (apostrophe) characters? If so, try this:

use strict; my $a = "''"; print "$a\n";

As an aside, if you use <code> tags when posting, it makes it a lot easier to figure out what you mean...

s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&;

Replies are listed 'Best First'.
Re^2: how to assign empty single quotes into a string
by ambrus (Abbot) on Jun 10, 2004 at 20:56 UTC

    This is so much easier now than in the BASIC years when you had to write chr$(34) to get a double quote.