Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: My Experiences with using CGI::Application and Template::Toolkit To Build an Online Shopping Cart

by runrig (Abbot)
on Sep 20, 2002 at 23:23 UTC ( [id://199662]=note: print w/replies, xml ) Need Help??


in reply to My Experiences with using CGI::Application and Template::Toolkit To Build an Online Shopping Cart

When an order is placed, an email confirmation is sent. In this confirmation, the order itself is printed out. The problem is, that it's hard to make text-based tables without using Perl Formats, which have to be, as far as I can tell, directed to a file handle or STDOUT, which isn't too clean. I found that a little module called Text::FormatTable work wonders.

Using $^A (see perlvar) and formline you don't need to direct format output to a handle. When I found out about them, I documented it here. Text::Format looks a bit more comprehensive anyway, though :-)

  • Comment on Re: My Experiences with using CGI::Application and Template::Toolkit To Build an Online Shopping Cart

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (None)
    As of 2024-04-25 01:03 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found