You don't need to pull out the tactical nuke for this.
my $i = 0; for( split //, $s ) { no strict 'refs'; ${ 'f' . $i++ } = $_ }
Makeshifts last the longest.
In reply to Re^2: How to split a string
by Aristotle
in thread How to split a string
by Red_Dragon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |