use strict; use reader; #$/= "\n\n\n"; while(do{local $/="\n\n\n"; $_=<>}){ my ($filename)=/^(\S+)/; my $text=reader::firstline($filename); }
Update: Commented out original definition of $/.
In reply to Re^2: Scope of $/
by BillKSmith
in thread Scope of $/
by agarrubio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |