in reply to Re^6: capturing STDOUT
in thread capturing STDOUT
You could try setting Content-Disposition: inline, but be aware that the Content-Disposition header is just advisory. The browser is free to do what it likes with the file: open it in an external program, save it to disk, or stir some eggs and cream into it and make it into a lovely soufflé. The inline disposition indicates that you'd like it to open within the browser window, but I don't think very many browsers are capable of doing that.
Personally I'd format it as an HTML table and use a little Javascript trickery to allow people to select columns and copy them to the clipboard.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: capturing STDOUT
by Anonymous Monk on Oct 11, 2012 at 08:53 UTC | |
by Corion (Patriarch) on Oct 11, 2012 at 08:58 UTC | |
by Anonymous Monk on Oct 12, 2012 at 09:56 UTC | |
by Anonymous Monk on Oct 12, 2012 at 10:00 UTC |
In Section
Seekers of Perl Wisdom