Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^8: capturing STDOUT

by Anonymous Monk
on Oct 11, 2012 at 08:53 UTC ( #998392=note: print w/replies, xml ) Need Help??

in reply to Re^7: capturing STDOUT
in thread capturing STDOUT

Content-Disposition: inline, didn't work

Can you please provide the code for "format it as an HTML table and use a little Javascript trickery to allow people to select columns and copy them to the clipboard"

Thanks in advance

Replies are listed 'Best First'.
Re^9: capturing STDOUT
by Corion (Pope) on Oct 11, 2012 at 08:58 UTC

    Such code would need to be written in Javascript and not in Perl. This is outside the focus of this site.

    What Javscript code to use would depend on what Javascript framework you use. I think there are numerous methods to display spreadsheets in a browser, for example handsontable.

    You will have to learn about HTML and Javascript if you choose to go down that route.

      thanks for the reply

      My output is still downloading as excel file if I give  Content-Disposition: inline Please help on this to display the Excel output in browser

        Hmm, ignoring the reply and repeating your plea, what an odd way to say thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998392]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-02-26 02:24 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (316 votes). Check out past polls.