i think u didnt get the point: i was just counting the splitted elemets
my @our_arguments_are_safe =split /:/, ':'; print scalar @our_arguments_are_safe;
is it ok?
$p = "::"; @m = ($p =~ /(:)/g);mm, why now do u count separators?
the 'no-code' question was:
why do split consider all empty fields as trailing when he find a list of two?
In reply to Re: Re: split empty (lead|trail)ing fields
by Anonymous Monk
in thread split empty (lead|trail)ing fields
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |