- or download this
DB<123> $str =join '', a..h
=> "abcdefgh"
...
DB<125> @rest
=> ("e", "f", "g", "h")
- or download this
DB<126> $index=4
=> 4
...
DB<128> @rest
=> ("e", "f", "g", "h")
- or download this
DB<129> ( ( (undef) x $index ) , @rest) = split //, $str
Can't modify repeat (x) in list assignment at (eval 65)[multi_perl5db.
+pl:638] line 2, at EOF