
japhy
Enthusiast
Mar 13, 2001, 11:50 AM
Post #2 of 2
(300 views)
|
Because . is a special regex character. You'll need to backslash it to make it match a literal period.
($dec, $frac) = split /\./, $number; Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author
|