http://www.perlmonks.org?node_id=898951


in reply to Re: print join n times on a line
in thread print join n times on a line

The format of the substitution command is one I haven't seen before. Is s[xx][yy] equivalent to s/xx/yy/?
Also, it does not work as written. I am using Perl 5.8.8.

Update: fixed tags to show square brackets