7stud has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am having problems deciphering this code:
my $perl5patt = qq{(??{join q{|}, $quotemeta \@{$var_name}})};1) I can't figure out how this:
join q{|}, $quotemeta \@{$var_name}fits the definition of join():
join EXPR,LIST
What is the list?
2) What is the '??' ?
It appears to be a function, but a search for a ?? function yields nothing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: what does this code do?
by Corion (Patriarch) on Dec 26, 2009 at 21:01 UTC | |
|
Re: what does this code do?
by ikegami (Patriarch) on Dec 26, 2009 at 22:45 UTC | |
|
Re: what does this code do?
by Anonymous Monk on Dec 26, 2009 at 21:03 UTC |