while (<DATA>) { my ($hours, $minutes, $seconds) = /(\d\d):(\d\d):(\d\d)/ or next; print "$hours,$minutes,$seconds\n" }
In reply to Re: Regular expression and lexical variables
by ikegami
in thread Regular expression and lexical variables
by yoda54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |