Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Perl6::Form question

by yunglean808 (Novice)
on Jul 13, 2015 at 21:34 UTC ( [id://1134597]=perlquestion: print w/replies, xml ) Need Help??

yunglean808 has asked for the wisdom of the Perl Monks concerning the following question:

This is a silly question. Is there anyway to print a form(originally perl 5: format) to html or is that completely unnecessary and impractical? Thank you monks!

Replies are listed 'Best First'.
Re: Perl6::Form question
by kcott (Archbishop) on Jul 14, 2015 at 06:02 UTC

    G'day yunglean808,

    In the first question you asked here, "text::table formatting with HTML", you wrote the module name using all lowercase characters (it should've been Text::Table). It's important that you use the correct case for module names (and in many other places).

    Here, in your second question, you appear to have done it again with 'perl6::form'. I assume you mean Damian Conway's Perl6::Form module.

    If that assumption is correct, follow the link to that module, scroll down to "in Perl 6 we could write:", and see the example.

    To render the output in HTML, just wrap it in <pre>...</pre> tags.

    — Ken

      Thank you very much that helped a lot! Also, I adjusted the titles excuse the case issue.
Re: Perl6::Form question
by stevieb (Canon) on Jul 13, 2015 at 22:15 UTC
    Really depends on how you did this in Perl 5... do you have example code?
Re: Perl6::Form question
by Anonymous Monk on Jul 14, 2015 at 00:41 UTC
    sure why not

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1134597]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found