Re: php like behavior for my perl CGI

2003-02-24 Thread Todd W
f'ups rearranged [EMAIL PROTECTED] wadet]$ perl sub box { return('img src=p.gif height='.$_[0].' width='.$_[1].''); } print eot; table tr td${\box(5,10)}/td td${\box(7,10)}/td /tr /table eot Ctrl-D table tr tdimg src=p.gif height=5 width=10/td

RE: php like behavior for my perl CGI

2003-02-20 Thread fliptop
On Thu, 20 Feb 2003 at 09:41, Peter Kappus opined: [snip] PK:Quite ingenious. While I'm sure I'll regret it later (and curse your good PK:name as I'm wishing I'd taken the time to learn Mason or HTML::Template) PK:this seems like a great quick fix for the time being. And it never hurts to

Re: php like behavior for my perl CGI

2003-02-19 Thread Todd W
Peter Kappus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED] ... Thanks to all who have responded to my rather vague request. Indeed, I should clarify a bit what I'm looking for. Because I'm extremely lazy, I'd like to use certain formatting shortcuts in my

RE: php like behavior for my perl CGI

2003-02-17 Thread Peter Kappus
Thanks to all who have responded to my rather vague request. Indeed, I should clarify a bit what I'm looking for. Because I'm extremely lazy, I'd like to use certain formatting shortcuts in my HTML. In a given document, I might have 15 different spacer gifs of different sizes to aid in precise

Re: php like behavior for my perl CGI...and DBI followup

2003-02-15 Thread drieux
On Friday, Feb 14, 2003, at 19:02 US/Pacific, Peter Kappus wrote: [..] In PHP this can be streamlined by creating a function which prints out your image tag for your and accepts the height and width as parameters. like so: function spacer($y,$x){ ?img src=spacer.gif height=?=$y? width=?=$x??