Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

johnseq (1046)

johnseq
  (email not shown publicly)

Journal of johnseq (1046)

Tuesday September 02, 2003
09:44 PM

TT2 vs. ASP

[ #14454 ]

Dim rs, conn  ' because you're using option explicit,  right?
... define connection etc.

Set rs = Conn.Open("select distinct place_id from locations")
While Not rs.EOF
  %><%=rs("place_id")%><%
  rs.MoveNext
Wend

OR

[% "$location.place_id " FOREACH location =  DBI.query("select distinct place_id from locations") %]

I like TT2

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I wasted nearly a year hacking ASP sites for a bunch of cowboys. It was probably the least productive and useful environment I have ever dealt with and that includes Lotus Notes!

    Now I dread seeing a .asp extension on a page I want to use because I know the site will be ill-designed, insecure and likely to not work properly. The kind of idiots who choose ASP are also likely to produce bad html and then claim to have 'designed' for inept exploder.

    Mind you I have seen a lot of JSP sites that are almost as

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;