in reply to Inserting an element into an array after a certain element
Pretty perverse (perl-verse?).% perl -le 'print"@{[split//,join q(x),split/(?<=c)/,join(q(),qw(a b c + d c e f)),2]}"' a b c x d c e f
the lowliest monk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Inserting an element into an array after a certain element
by CountZero (Bishop) on Apr 01, 2005 at 05:22 UTC | |
by tlm (Prior) on Apr 01, 2005 at 10:36 UTC |