"be consistent" | |
PerlMonks |
Re (PotPieMan): Can I use a regex here?by PotPieMan (Hermit) |
on Apr 17, 2001 at 01:29 UTC ( [id://72961]=note: print w/replies, xml ) | Need Help?? |
While Masem's suggestion should work, you could do it more simply with loop. For example:
(You could skip the "my $number" for idiomatic purposes and use $_ instead.) --PotPieMan
In Section
Seekers of Perl Wisdom
|
|