... then you would be mistaken. You could try this instead:$line = $_; $line=~m%(\d+).*%;
($line) = /(\d+)/ or next;
-- Chip Salzenberg, Free-Floating Agent of Chaos
In reply to RE: Closing program when end of files is reached
by chip
in thread Closing program when end of files is reached
by fgcr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |