open(IN, "<input.txt") or die $!; while(<IN>) { chomp; next unless /^@(+.)/; print "output: $1\n"; } close(IN);
In reply to Re: working with files
by Arunbear
in thread working with files
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |