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...
|
|---|
| 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 |