KurtSchwind has asked for the wisdom of the Perl Monks concerning the following question:
I was just showing a non-native english speaking colleague the quote function in perl.
my $x = q(Some string of stuff keeping $signs in tact);And I mentioned that you could change the parens to curly braces or a slew of other characters and he asked me what the name of the character that follows the q is. My first instinct was to say delimiter but that's not quite right because a delimiter repeats and parens and curly braces close with the opposing brace or paren.
my $x = q{Test}; my $x = q+Test+; my $x = q(Test); my $x = q^Test^; ...
So. Does the name of the character after the q have a specific name? As in "You can change the ____ from a parenthesis to a plus sign."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The name of the character
by stevieb (Canon) on Aug 06, 2015 at 15:55 UTC | |
|
Re: The name of the character
by toolic (Bishop) on Aug 06, 2015 at 15:56 UTC | |
|
Re: The name of the character
by kennethk (Abbot) on Aug 06, 2015 at 15:55 UTC | |
|
Re: The name of the character
by ww (Archbishop) on Aug 06, 2015 at 18:06 UTC | |
|
Re: The name of the character
by KurtSchwind (Chaplain) on Aug 06, 2015 at 17:27 UTC | |
|
Re: The name of the character
by BillKSmith (Monsignor) on Aug 07, 2015 at 03:11 UTC | |
by ww (Archbishop) on Aug 07, 2015 at 13:11 UTC | |
by shmem (Chancellor) on Aug 07, 2015 at 14:05 UTC |