Re: Help with $_

2009-10-28 Thread Olivier Mengué
2009/10/28 Barry Brevik > So after all these years, I'm wondering, is there a PERLish way to add a > "\n" in the same line of code that prints the default $_ variable? > > >From perlvar: IO::Handle->output_record_separator EXPR $OUTPUT_RECORD_SEPARATOR $ORS $\ The output rec

Re: Help with $_

2009-10-28 Thread Gabor Szabo
On Wed, Oct 28, 2009 at 1:33 AM, Michael Ellery wrote: > I would recommend either (1) don't chomp in the first place or (2) just > do print "$_\n". > > -Mike > > Barry Brevik wrote: >> I am aware that there are a number of Perl "operations" that will use >> the system variable $_ as the default va