Re: Problem running perl cgi scripts

2002-04-15 Thread Andy Holyer
On Sunday, April 14, 2002, at 08:00 pm, Puneet Kishor wrote: ... Here are some additional ways you can look at the log more conveniently... from the terminal, type tail /private/var/log/httpd/error_log to see the last 10 lines. Sometimes last 10 lines are not enough so you can pass a

Re: mod_perl stopped working...

2002-04-15 Thread Bill -Sx- Jones
On 4/14/02 11:17 PM, Alex S [EMAIL PROTECTED] wrote: I think he was just stirring up debate on the lack of my in the latter example. Ie, not declaring variables (and thus scope). Well... Scope isn't important - we can all just use globals and be done with it. -Sx- :]

RE: canonical perl IDE for Mac OSX

2002-04-15 Thread Noe Arzate
How can I unsubscribe to this mailing list? thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 8:56 AM To: [EMAIL PROTECTED] Subject: Re: canonical perl IDE for Mac OSX Importance: Low On Sunday, April 14, 2002, at

Re: Problem Sovled Re: Problem running perl cgi scripts

2002-04-15 Thread drieux
On Sunday, April 14, 2002, at 07:21 , John Buono wrote: [..] When I created my scripts I used BBEdit, but did not set the type of file to Unix, I let it remain the default of Macintosh (well I was on a Mac). I discovered that if the scripts are in Mac test format, they will not run, and

RE: canonical perl IDE for Mac OSX

2002-04-15 Thread Thompson,Roger
Hey this is a lot of fun. For what little I do with PERL on the iMac I use xemacs. I guess I've got the keystrokes too firmly embedded in my motor memory. I went out and bought a Happy Hacking keyboard (for work and soon at home) so I wouldn't have keep curling my little finger down to hit the

scribble and it will be a production release - was Re: [Way OT] mod_perl stopped working...

2002-04-15 Thread drieux
On Sunday, April 14, 2002, at 06:21 , Bill -Sx- Jones wrote: --boring, cautious, obvious over commented code-- Nothing wrong with being OVERLY cautious, especially if YOU expect to understand why you did what you did months or years later. I wrote a quick hack once to fix a short term

Re: mod_perl stopped working...

2002-04-15 Thread Randal L. Schwartz
Bill == Bill -Sx- Jones [EMAIL PROTECTED] writes: Bill Merlyn, you must have thought they were 'enjoyable' as well, once upon a Bill time... Yes, and seeing the damage that is done, I've since repented. I now sell code review services as my atonement. :) -- Randal L. Schwartz - Stonehenge

Re: scribble and it will be a production release

2002-04-15 Thread drieux
On Monday, April 15, 2002, at 07:43 , Bill -Sx- Jones wrote: On 4/15/02 10:34 AM, drieux [EMAIL PROTECTED] wrote: on a vt52 dial up with only sed as your editor Yes - and THAT is why I only use a Mac :) So I don't have use vt52 OR sed; my complements to your good fortune! But given

Re: scribble and it will be a production release

2002-04-15 Thread Kee Hinckley
At 10:43 AM -0400 4/15/02, Bill -Sx- Jones wrote: On 4/15/02 10:34 AM, drieux [EMAIL PROTECTED] wrote: on a vt52 dial up with only sed as your editor Yes - and THAT is why I only use a Mac :) So I don't have use vt52 OR sed; Damn, your right. I just checked and terminal doesn't do

Re: scribble and it will be a production release

2002-04-15 Thread Kee Hinckley
At 8:36 AM -0700 4/15/02, drieux wrote: If anything the fact that they opted to go for the plain jane vt100 mode is the 'warm fuzzy' - no need to worry about esoteric and arcane 'termCap/termInfo' settings for remote hosts Actually the terminal setting lies. It is definitely not a vt100.

Re: scribble and it will be a production release

2002-04-15 Thread drieux
On Monday, April 15, 2002, at 08:59 , Kee Hinckley wrote: At 8:36 AM -0700 4/15/02, drieux wrote: If anything the fact that they opted to go for the plain jane vt100 mode is the 'warm fuzzy' - no need to worry about esoteric and arcane 'termCap/termInfo' settings for remote hosts

Re: Documentation Issues - was Re: [Way OT] mod_perl stoppedworking...

2002-04-15 Thread ellem
On Monday, April 15, 2002, at 10:26 , drieux wrote: Lou's list of books from his URL seemed a good start - thought I would collect others. Honey, come'ere lookit, someone has been on the Homepage! -- Lou Moran [EMAIL PROTECTED] http://ellem.dyn.dhs.org:5281/ (OS X)

Re: Documentation Issues - was Re: [Way OT] mod_perl stopped working...

2002-04-15 Thread Randal L. Schwartz
Drieux == Drieux [EMAIL PROTECTED] writes: Drieux I have the first printing from 1991 version - does this version have Drieux a name??? So that when I mention it, I can use the culturally Drieux accepted term. This remains the dog eared, coffee stained, Drieux fast thumber - in lieu of a

Re: Documentation Issues - was Re: [Way OT] mod_perl stopped working...

2002-04-15 Thread drieux
On Monday, April 15, 2002, at 10:54 , Randal L. Schwartz wrote: [..] Now, the next step would be to write a book that is how to spend your *second* 40 hours with Perl :) while that sorta sounds like a joke - it might help some of the folks I know - sober as a judge may I request an

Re: BSD::stat - and Mac OS X

2002-04-15 Thread Dan Kogai
Willam, On Tuesday, April 16, 2002, at 04:55 , William H. Magill wrote: I'm not a programmer, so I may simply be mis-interpreting things. I was hunting for a way to display the flags found in OS X in a rational manner. (ie not having to get info for every bloody file.) So I found your

good practice subroutine coding in web context

2002-04-15 Thread PK Eidesis
afaiunderstand, a sub should be a closed beast, no? poke it with something, it returns something. That something should be just data (in good MVC tradition (you can tell I have started to read the beginners guide to programming Cocoa) and not any display information about that data. How that

Re: good practice subroutine coding in web context

2002-04-15 Thread Chris Devers
On Mon, 15 Apr 2002, PK Eidesis wrote: afaiunderstand, a sub should be a closed beast, no? poke it with something, it returns something. That something should be just data (in good MVC tradition (you can tell I have started to read the beginners guide to programming Cocoa) and not any

Re: good practice subroutine coding in web context

2002-04-15 Thread Alex S
Chris Devers wrote: afaiunderstand, a sub should be a closed beast, no? poke it with something, it returns something. That something should be just data (in good MVC tradition (you can tell I have started to read the beginners guide to programming Cocoa) and not any display information about

Re: good practice subroutine coding in web context

2002-04-15 Thread Ryan
--At 4/15/02 4:25 PM -0500, PK Eidesis wrote: sub makeCalendar { $type = _; if($type eq month) { print all the code for a monthly calendar; elsif($type eq week) { print all the code for a weekly calendar; elsif($type eq year) { print all the code for a yearly calendar; } }

Re: good practice subroutine coding in web context

2002-04-15 Thread Alex S
I agree with Ryan. I think it's often more useful to have a string returned, giving me the option of what I want to do with it higher up. If you have the makeCalendar() subroutine print, I would rename it to something like outputCalendar() or something to that effect. I like to make sure

Re: good practice subroutine coding in web context

2002-04-15 Thread drieux
On Monday, April 15, 2002, at 02:40 , Ryan wrote: --At 4/15/02 4:25 PM -0500, PK Eidesis wrote: sub makeCalendar { $type = _; if($type eq month) { print all the code for a monthly calendar; elsif($type eq week) { print all the code for a weekly calendar; elsif($type eq year) {

Re: good practice subroutine coding in web context

2002-04-15 Thread Alex S
Since we're giving coding exmaples for ideas... One way to do it with a Template enginer: use Template; my $calOutput = getCalendar('week'); print Content-type: text/html\n\n . $calOutput ; sub getCalendar { my $type = shift _; my $template = Template-new( INCLUDE_PATH =

Re: Installing 5.6.1 :: The Fuzzy Place

2002-04-15 Thread Ken Williams
On Monday, April 15, 2002, at 11:39 PM, Chris Devers wrote: Maybe I'll have to try turning locales off if the bugs don't go away... :/ I haven't been able to figure out how to use locales under OS X anyway, so it's probably no big loss, eh? Or have you gotten them working? -Ken

Re: good practice subroutine coding in web context

2002-04-15 Thread Chris Devers
On Mon, 15 Apr 2002, Alex S wrote: Chris Devers wrote: If yes, how do I accommodate repeated poking of the sub which repeatedly returns data in a predictive display format? iow, do I violate the above premise by making the sub return the display info as well as shown below? Well if the

Re: Installing 5.6.1 :: The Fuzzy Place

2002-04-15 Thread David Wheeler
On 4/15/02 5:21 PM, Ken Williams [EMAIL PROTECTED] claimed: I haven't been able to figure out how to use locales under OS X anyway, so it's probably no big loss, eh? Or have you gotten them working? Hmm. I somehow rather doubt that they've been implemented in OS X in a POSIXy way. For

Re: good practice subroutine coding in web context

2002-04-15 Thread Puneet Kishor
so, everyone is in general agreement that... Separating layout, logic data is a virtue in any programming situation [which is why HTML is such an abomination, but I digress]. I guess I should have clarified that that is what I believe in already (the separating part, not necessarily the

Re: good practice subroutine coding in web context

2002-04-15 Thread ashley
this list is becoming nearly useless if os x is supposed to be its focus. if most of us wanted style guides, coding advice, or the best way to lay out a calendar, we'd have the good grace to seek those answers on lists and locations where they are discussed. a few off topic threads are natural

Re: good practice subroutine coding in web context

2002-04-15 Thread Chris Devers
Replying briefly offlist because, well, I agree with you don't want to waste more bandwidth. This list *has* gotten dull. To be honest, from my perspective a lot of it is from this Puneet guy posting good but kinda naive questions, like these about coding style, and Bill -OSX- Jones doing much

Re: good practice subroutine coding in web context

2002-04-15 Thread Puneet Kishor
you didn't have to answer stuff if it was boring... that's why its a list, no. Scan, and delete it if it bores you. sorry guys, maybe I'll lurk, maybe I'll leave, maybe I'll go back to my day job. maybe I'll come back and rejoin this list when I too can write stuff no one can understand. see

Re: good practice subroutine coding in web context

2002-04-15 Thread Chris Devers
On Mon, 15 Apr 2002, Puneet Kishor wrote: sorry guys, maybe I'll lurk, maybe I'll leave, maybe I'll go back to my day job. maybe I'll come back and rejoin this list when I too can write stuff no one can understand. No no no, please don't leave. What I wrote was very rude and very