to:my ( $name, $value ) = ( $line =~ /^\s*(.*?):(.*)$/ );
This might squeeze any leading spaces from $value. Noting seeing the data file I'm not sure this is necessary. But from the other comments it looks like "poke" around time.my ( $name, $value ) = ( $line =~ /^\s*(.*?):\s*(.*)$/ );
Claude
In reply to Re: extra space with /
by Xxaxx
in thread extra space with /
by malaga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |