in reply to Calling Stored procedure from perl
Both string1 and string2 are identical. The qq operator usually gets used when you need the " character within the string itself, and allows you to avoid having to escape it with a \.my $var = 'blue'; my $string1 = "the sky is $var\n"; my $string2 = qq|the sky is $var\n|;
Both string1 and string2 are still identical.my $var = 'blue'; my $string1 = "the \"sky\" is $var\n"; my $string2 = qq|the "sky" is $var\n|;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling Stored procedure from perl
by mtrasp (Acolyte) on Mar 02, 2010 at 05:44 UTC | |
by Utilitarian (Vicar) on Mar 02, 2010 at 08:54 UTC |