| nahasa | what if I dont have the toolkit? |
| dazjorz | lol my client higlights 'daze' |
| nahasa | isnt there some kind of print block construct for creating a string? |
| f00li5h | nahasa: cpan Template |
| jonsmith1982 | i dont like template::toolkit much it allows you to use code within the template but its too restricting |
| gnube | nahasa, You can get it through cpan |
| mauke | avar: what am I doing wrong? every time I try to learn emacs I discover more annoying crap :( |
| Ceran | how do you print out the type of an object? |
| jonsmith1982 | maybe Apache::ASP is better |
| f00li5h | jonsmith1982: the idea is that teh templates can only do display logic |
| nahasa | like $variable = <<BLOCK; ?? |
| LeoNerd | TT2 would be quite nice with a restriction mode, forcing you only to put actual templating in there, and not code |
| Daveman | LeoNerd, one sec trying to deal with something else at the moment |
| gnube | jonsmith1982, You can just pipe variables from perls scripts direct to TT |
| q[ender] | cld2, i think -- terminiates arguments to the perl interpreter and forces it to treat the rest as $program_name [program args] |
| f00li5h | LeoNerd: it defaults to not allowing perl |
| LeoNerd | But then it practically becomes XSL if you do that f00li5h: Yeah; but it still has a powerful plugin system anyway.. and you can do real code with that |
| avar | mauke: well it takes a bit of time obviously, learning to look up stuff in the manual is the first step:) |
| f00li5h | what's wrong with that LeoNerd? |
| LeoNerd | f00li5h: It allows you to make the Big PHP Mistake |
| f00li5h | how so? |
| LeoNerd | Namely; of mixing your logic and your presentation |
| f00li5h | you can only call things in the plugins |
| avar | mauke: also, you have to learn ~100 key combos before you can use it effectively mauke: what has been annoying you? |
| cld2 | q[ender]: thanks. |
| Randal | the code of tt gets hard about the right place the knee in the curve reminds me that I'm no longer in V, but in M or C. |
| LeoNerd | TT still makes it too easy to e.g. make random DBI calls |
| Randal | Yeah, you have to avoid those |
| f00li5h | LeoNerd: random dbi calls? that never occurred to me |
| LeoNerd | But I'll agree it's nicer than some things; like PHP or ASP |
| mauke | avar: 1) the menus look like crap 2) they disappear when you release the mouse button, so just clicking on a menu activates the first entry |
| f00li5h | because i've gone to the effort of making templates |
| Randal | DBI->random_connect('pwned_server:...') |
| q[ender] | cld2, i'm not sure though, it's not really explained in perlrun |