"be consistent" | |
PerlMonks |
Re^4: How to copy an array to a hash?by izut (Chaplain) |
on Jan 14, 2008 at 07:38 UTC ( [id://662267]=note: print w/replies, xml ) | Need Help?? |
It seems the OP uses Win32, that's the reason I used \r\n :-) I'm sorry, but I'm on Mac OS X so I can't test the input. The \n+ trick does the job, like the example below:
Output:
Hope this helps!
Igor 'izut' Sutton
In Section
Seekers of Perl Wisdom
|
|