Calling a shell from a perl script.

2001-12-22 Thread Mark-Nathaniel Weisman
-BEGIN PGP SIGNED MESSAGE- Hello all, I'm writing a common gateway interface that will call I need to issue several shell commands. (cp, cd, and cd .., and maybe others). Any assistance would be greatly appreciated. How can a call a shell other than bash. Thank you, Mark-Nathaniel Weis

Re: split

2001-12-22 Thread Leon
- Original Message - From: "Gary Hawkins" <[EMAIL PROTECTED]> > > my > > $line=qw(1,6.944,"methane",29.6576,70617.28,"*BB",8533.32,2381.0883,0.21); > Bonk. When using qw (quote words) I thought they had to be separated by white > space: If there are more than one element, yes, it needs t

Re: how to construct regexes so that it do not match null

2001-12-22 Thread Andrea Holstein
Leon wrote: > > ... > > \b stands for a word boundary and has a length of 0. > > (4) Is this boundary \b equivalent to an empty string? What is the meaning > of 0 length? Is 0 lenght = empty string? No. Imagine how a regexp machine works. Simplified there is a pointer which directs to the chara

Re: Perl mail program

2001-12-22 Thread zentara
On Wed, 19 Dec 2001 04:55:25 +0200, [EMAIL PROTECTED] (Christo Rademyer) wrote: >Hi im looking for a simple perl mail program source code , program that takes your >input and ask you for the address , etc,, and mail you the info to an address. >Thanx 4 ur help. > Here's one I've been learning

Re: Regexp question...

2001-12-22 Thread Andrea Holstein
"John W. Krahn" schrieb: > > Andrea Holstein wrote: > > > > A matching always return a list of the captured items. > > On the left side of the assignment is a scalar, > > so list in a scalar context returns its size. > ^ > While this is true that is _n

PerlMx

2001-12-22 Thread Gary Hawkins
Anyone using this? http://aspn.activestate.com/ASPN/Reference/Products/PerlMx/FAQ.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]