in reply to Printing the variable makes the next match code work. Why?
If the print only works when it contains a \n, you might be suffering from output-buffering. See here in the Perl Cookbook for a detailed discussion of that topic.
HTH, Rata
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing the variable makes the next match code work. Why?
by AnomalousMonk (Archbishop) on Jan 11, 2012 at 09:07 UTC |