in reply to Re: formats output \r\n question
in thread formats output \r\n question
#!/usr/bin/perl -w use strict; my $name = 'name'; my $home = "town\r\n"; { local $\= "\r\n"; binmode STDOUT; format STDOUT = @<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<< \r\n $name, $home . write STDOUT; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: formats output \r\n question
by shmem (Chancellor) on Jun 27, 2006 at 16:07 UTC | |
|
Re^3: formats output \r\n question
by derby (Abbot) on Jun 27, 2006 at 15:52 UTC |