In list context, ()x is the list repetition operator. It's one of the few cases in perl where () does something more than adjust precedence or delimit function parameters.my $str = q{CALL DB_PROC_FOO(} . join(q{,}, (q{?}) x $n) . q{)};
In reply to Re: Rewrite in a more compact way
by ysth
in thread Rewrite in a more compact way
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |