> > > > while(<FH>) { > > if (length($_) == 263) { > > Add 2 spaces to the end (before new line > char) > > of $_ > > $_ .= ' '; > # or > $_ .= ' ' x 2; > > > > } > > } > > > > How to do this ?
$_ will have newline char...... ' '(2 spaces) added after the new line char (\n) i want to add before newline char... i don't want to chomp the newline char.... i want new line char should be there again.. how to do this ? -Madhu > > > > Thanx > > -Madhu > > __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]