Re: visual debugger ?

2003-01-31 Thread Joe Davison
On Mon, 06 Jan 2003, [EMAIL PROTECTED] wrote: > hi > > i tried the active state visual debugger the other day and found it > extremely easy and rather convenient to use. does anyone know of a > similar product that works under os x ? > > ./allan If you're running X11, ddd should work fine

Re: Apache sessions

2003-01-31 Thread Jeff Kolber
I really wish the developer(s) would not write in their READMEs in such a manner that it might be taken to mean that it requires mod_perl (darn, that was a labored sentence I just wrote). I recently chose to use CGI::Session over Apache::Session precisely because it said something early on in

Re: (CB) how to use deSelectAll in a TableView?

2003-01-31 Thread Dan Sugalski
On Thu, 30 Jan 2003, Rich Morin wrote: > It seems like there should be a "serder" argument, but I dunno what to > use for it. Help? Use the window controller object as the sender, though I'm not really sure that it makes too much of a difference what you use there. :)

Re: visual debugger ?

2003-01-31 Thread Rich Morin
On a related topic, I can't find any way to get the editor in PB to display the line numbers. The closest I can come is clicking on the line and looking at the line number display. This makes finding Perl syntax errors a bit tedious... (Yes, I sent in a bug report. :-). -r -- email: [EMAIL PROT

Re: Apache sessions

2003-01-31 Thread Florian Helmberger
On Donnerstag, Jänner 30, 2003, at 11:57 Uhr, Jeff Kolber wrote: Hi. one thing about sessions security that has been of concern to me since I read the OWASP 10 most critical web application security vulnerabilities that I'm not sure I fully understand is that with cookies or querystring sess

Re: Apache sessions

2003-01-31 Thread wiggins
On Fri, 31 Jan 2003 11:10:00 +0100, Florian Helmberger <[EMAIL PROTECTED]> wrote: > On Donnerstag, Jänner 30, 2003, at 11:57 Uhr, Jeff Kolber wrote: > > I wouldn't attach a session to an IP address as it is quite common that > a visitor's IP a

Re: (CB) how to use deSelectAll in a TableView?

2003-01-31 Thread Sherm Pendley
On Friday, January 31, 2003, at 12:20 AM, Rich Morin wrote: $tableview->deSelectAll(); ... When I run this, I get the message Instances of class NSTableView do not respond to selector deSelectAll Looking in the CocoaBrowser, I see: deselectAll: - (void)deselectAll:(id)sender

Re: (CB) how to use deSelectAll in a TableView?

2003-01-31 Thread Sherm Pendley
On Friday, January 31, 2003, at 02:26 AM, Garth Douglass wrote: It has been a while, but I am pretty sure that an empty string ("") will translate to nil in camelbones. An empty string "" translates as an empty NSString. To pass nil, use "undef". sherm-- C programmers never die - they're ju

Cursor return, no line feed

2003-01-31 Thread Peder Axensten
I'd like to rewrite the same line on standard output. To have a progrss indicator like "Compressing, x% done" that is updated with no line feed. How do I do this in Perl? In C++? /Peder +46-90-786.7719 (work) +46-90-32344 (home)

Re: Cursor return, no line feed

2003-01-31 Thread Martin Redington
IIRC, the "\r" character should clear the line for you. Let me know if this doesn't work, as I've definitely got code that does this somewhere ... On Friday, January 31, 2003, at 04:37 PM, Peder Axensten wrote: I'd like to rewrite the same line on standard output. To have a progrss indicator

Re: Cursor return, no line feed

2003-01-31 Thread Peder Axensten
That was quick! I have a C++ project in fron of me know, '\r' doesn't work. In terminal it's ignored... IIRC, the "\r" character should clear the line for you. Let me know if this doesn't work, as I've definitely got code that does this somewhere ... I'd like to rewrite the same line on standa

Re: Cursor return, no line feed

2003-01-31 Thread Martin Redington
Try the following: perl -e 'for($i = 0; $i < 100; $i++){ print STDERR "$i"; sleep 1 ; print STDERR "\r"}' (I used STDERR, to avoid buffering of stdout. There is a way to disable this, but I can't recall it off the top of my head). On Friday, January 31, 2003, at 05:11 PM, Peder Axensten wrot

Re: Cursor return, no line feed

2003-01-31 Thread Ken Williams
Download the Time::Progress module, it's very helpful. I use it like this: my $pb = 'Time::Progress'->new; $pb->attr(max => $count); while (...) { $pb->report("%50b %p ($i/$count)\r", $i); } -Ken On Friday, January 31, 2003, at 10:37 AM, Peder Axensten wrote: I'd like to rewrite t

Re: Cursor return, no line feed

2003-01-31 Thread Ken Williams
On Friday, January 31, 2003, at 10:51 AM, Martin Redington wrote: IIRC, the "\r" character should clear the line for you. Let me know if this doesn't work, as I've definitely got code that does this somewhere ... "\r" doesn't clear the line, it just moves the cursor back to the beginning of

Re: Cursor return, no line feed

2003-01-31 Thread Peder Axensten
Thanks for the help! It is indeed '\r'! I had put it at the beginning of the string, figuring that this will overwrite the old. Now I see that you end the line with '\r' (works in C++ too). Silly me! I will check out Time::Progress for Perl! On fredag, jan 31, 2003, at 18:36 Europe/Stockholm,

Questions about installing the Perl DBI

2003-01-31 Thread Ben Siders
I'm sure this has been hashed and rehashed here, but I'm having trouble geetting DBI installed in X. Can anybody direct me towards a HOWTO? I downloaded the module and tried to do a 'make test' and it failed. Let me know if more information is needed. -- Benjamin J. Siders Software Enginee

Re: Questions about installing the Perl DBI

2003-01-31 Thread Rich Allen
if make test is failing ... maybe the test aren't able to connect to the dB? perl makefile.pl --testuser=validuser --testpass=validuserspass make make test - hcir On Friday, January 31, 2003, at 10:42 AM, Ben Siders wrote: I'm sure this has been hashed and rehashed here, but I'm having tro

Apache::PageKit

2003-01-31 Thread R. Hannes Niedner
Did some manage to install Apache::PageKit on MacOSX. I tried it on 10.2.3 and Perl 5.8 but it dies on me at XML::LibXML and Apache::Request. Any hints are welcome. Thanks/h

Re: Cursor return, no line feed

2003-01-31 Thread Dan Mills
On Friday, January 31, 2003, at 12:26 PM, Martin Redington wrote: Try the following: perl -e 'for($i = 0; $i < 100; $i++){ print STDERR "$i"; sleep 1 ; print STDERR "\r"}' (I used STDERR, to avoid buffering of stdout. There is a way to disable this, but I can't recall it off the top of my

Re: Cursor return, no line feed

2003-01-31 Thread Ian Ragsdale
The simple old way (I'm not sure if the syntax below supercedes it) is: $|=1; Assigning any non-false value to $| will turn off buffering. Ian On 1/31/03 9:16 PM, "Dan Mills" <[EMAIL PROTECTED]> wrote: > > On Friday, January 31, 2003, at 12:26 PM, Martin Redington wrote: > >> >> Try the fo