Re: Where is editor that will Indent my perl code?

2003-11-03 Thread LoneWolf
My personal choice is Nedit. I use it for the syntax highlighting as well. Robert >On Mon, 03 Nov 2003 11:27:33 -0800 (PST) Richard Heintze <[EMAIL PROTECTED]> wrote. >emacs and a number of other editors have the ability, >with a single key stroke to properly indent java code. > >However, since

Re: win32 modules

2003-11-03 Thread Wiggins d'Anconia
[EMAIL PROTECTED] wrote: Hi, I've been looking at some perl modules that are win32 based. But what I can't seem to find is something that I can use based on my earlier scripting requirements. So I appreciate any advice from this list as to what I can use That will remotely go

win32 modules

2003-11-03 Thread Bruce_Phillip
Hi, I've been looking at some perl modules that are win32 based. But what I can't seem to find is something that I can use based on my earlier scripting requirements. So I appreciate any advice from this list as to what I can use That will remotely go and grab system configur

Re: Recursion

2003-11-03 Thread Steve Grazzini
On Tue, Nov 04, 2003 at 12:45:58AM +0100, Paul Johnson wrote: > On Mon, Nov 03, 2003 at 11:16:02PM -, Rob Dixon wrote: >> Steve Grazzini wrote: >>> The problem is that "-d $path" will return true if $path is a symlink >>> to a directory. >> >> Thanks Steve, but are you certain? I can't test it

Re: Recursion

2003-11-03 Thread Paul Johnson
On Mon, Nov 03, 2003 at 11:16:02PM -, Rob Dixon wrote: > Steve Grazzini wrote: > > > > On Mon, Nov 03, 2003 at 09:48:55AM -, Rob Dixon wrote: > > > Steve Grazzini wrote: > > > > That's fine if you *want* to skip the dotfiles. But you *always* > > > > skip "." and "..". More robust code wi

Re: Recursion

2003-11-03 Thread Rob Dixon
Steve Grazzini wrote: > > On Mon, Nov 03, 2003 at 09:48:55AM -, Rob Dixon wrote: > > Steve Grazzini wrote: > > > That's fine if you *want* to skip the dotfiles. But you *always* > > > skip "." and "..". More robust code will also check for cycles, but > > > since File::Find does all this alre

Re: Where is editor that will Indent my perl code?

2003-11-03 Thread Tassilo von Parseval
On Mon, Nov 03, 2003 at 11:54:38AM -0800 Richard Heintze wrote: > Tim (or anyone else) > I have vim 6.1 and tried it out. I know VI (a little) > so I thought vim would not be so bad. I tried help and > searching help for indent and found it. It looks more > like a function call for their macro lan

RE: Where is editor that will Indent my perl code?

2003-11-03 Thread Bruce_Phillip
Tim, If your using windows and want to use a version of Vi goto the following: http://www.winvi.de/en It really works just like vi and is great so you can Use :set numbers commands so you can see which line Your errors occur in. Use vi is a standard editor in every unix system

RE: Where is editor that will Indent my perl code?

2003-11-03 Thread Richard Heintze
Tim (or anyone else) I have vim 6.1 and tried it out. I know VI (a little) so I thought vim would not be so bad. I tried help and searching help for indent and found it. It looks more like a function call for their macro language than it does a command. I tried ":indent(6)" and it did not work. H

RE: Where is editor that will Indent my perl code?

2003-11-03 Thread Tim Johnson
PerlBuilder's syntax highlighting works very well, but it's also more expensive than many of the other alternatives. Have you tried vim? -Original Message- From: Richard Heintze [mailto:[EMAIL PROTECTED] Sent: Monday, November 03, 2003 11:28 AM To: [EMAIL PROTECTED] Subject: Where is ed

Where is editor that will Indent my perl code?

2003-11-03 Thread Richard Heintze
emacs and a number of other editors have the ability, with a single key stroke to properly indent java code. However, since perl has such unusual syntax for specifying literal character strings (my favorite is qq[]) emacs chokes when it attempts to indent my perl code. Too bad -- I love emacs. Is

Re: 3 CGI questions

2003-11-03 Thread Haim Ashkenazi
Jenda Krynicky wrote: > From: Haim Ashkenazi <[EMAIL PROTECTED]> >> 1. when I put "#!/usr/bin/perl -wT" at the beginning of the file, and >> running "perl -cw

Re: Recursion

2003-11-03 Thread Steve Grazzini
On Mon, Nov 03, 2003 at 09:48:55AM -, Rob Dixon wrote: > Steve Grazzini wrote: > > That's fine if you *want* to skip the dotfiles. But you *always* > > skip "." and "..". More robust code will also check for cycles, but > > since File::Find does all this already, it's usually better just to >

Re: 3 CGI questions

2003-11-03 Thread Jenda Krynicky
From: Haim Ashkenazi <[EMAIL PROTECTED]> > 1. when I put "#!/usr/bin/perl -wT" at the beginning of the file, and > running "perl -cw

Re: Recursion

2003-11-03 Thread James Edward Gray II
On Monday, November 3, 2003, at 03:43 AM, Rob Dixon wrote: Recursion can always be eliminated by hard-coding the stacking of context variables that the compiler provides and using a loop instead of a recursive call. In fact this is exactly what File::Find itself does. But recursive code will almos

Re: connecting to mysql for the first time

2003-11-03 Thread R. Joseph Newton
Bryan Harris wrote: > I've been enjoying perl for almost 2 years now, and I think I'm ready to > step into interacting with a database. (big step!) > > I have mysql, and I have some simple tables. In what database? MySQL can access any number of databases. The only built-in one are mysql, the

3 CGI questions

2003-11-03 Thread Haim Ashkenazi
Hi I'm writing some web scripts using CGI for (almost) the first time and I have some questions/problems (perl 5.6.1): 1. when I put "#!/usr/bin/perl -wT" at the beginning of the file, and running "perl -cw

RE: :Oracle

2003-11-03 Thread Bob Showalter
Olivier Wirz wrote: > Hello, > > I try to install DBI and DBD::Oracle on a Windows XP. > > With DBI it works fine this way: > > ppm > install DBI > > but it doesn't work with DBD::Oracle > > install DBD::Oracle > --> Searching for 'DBD::Oracle' returned no results > > Is there a way to instal

Re: Recursion

2003-11-03 Thread Rob Dixon
R. Joseph Newton wrote: > > Rob Dixon wrote: > > > Jeff Westman wrotenews:[EMAIL PROTECTED] > > > > > > I've never liked "recursion" but of course there are times where it is > > > needed. > > > > > > I have a simple task that I am trying to do. Basically, I just want to list > > > out my director

Re: Recursion

2003-11-03 Thread Rob Dixon
Steve Grazzini wrote: > > On Sun, Nov 02, 2003 at 05:32:35PM -0600, James Edward Gray II wrote: > > On Sunday, November 2, 2003, at 06:19 AM, Rob Dixon wrote: > > > sub printdir { > > > > > >my $dir = shift; > > > > > >opendir DIR, $dir or die $!; > > >my @dirs = grep /[^.]/, readdir D

Re: Recursion

2003-11-03 Thread Rob Dixon
James Edward Gray II wrote: > > On Sunday, November 2, 2003, at 06:19 AM, Rob Dixon wrote: > > > Jeff Westman > > wrotenews:[EMAIL PROTECTED] > >> Hi, > >> > >> I've never liked "recursion" but of course there are times where it is > >> needed. > > I'm not sure I would say recursion is "needed", bu

Trouble with backup in perl

2003-11-03 Thread Goffredo Saffioti
Good morning the problem is bound to the dimension of the backup file on the filesystem . On ext3fs the size of a file is maximum 2.50 . So here the limitation, my the dir contain a number of subdirs or files or what a people want that is greater than that size, my backup don't contain all files