Or:
#!/usr/bin/perl use strict; use warnings; while( <DATA> ) { for ( split /[, \n]+/ ) { print "'$_'\n"; } }
In reply to Re: Splitting in while loop
by tybalt89
in thread Splitting in while loop
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |