Re: [Perl-unix-users] Cookies advice

2005-11-03 Thread $Bill Luebkert
Bill Platt wrote: > Now, I am beginning to think that I have > misunderstood the nature of using cookies. > I am actually attempting to do so for the > first time. > > When I fire the SetCookies procedure: > &setCookie("user", "dbewley", $expDate, $path, $domain); > > Is this the only way it can

[Perl-unix-users] Cookies advice

2005-11-03 Thread Bill Platt
Now, I am beginning to think that I have misunderstood the nature of using cookies. I am actually attempting to do so for the first time. When I fire the SetCookies procedure: &setCookie("user", "dbewley", $expDate, $path, $domain); Is this the only way it can be done? I thought perhaps

Re: [Perl-unix-users] parsing ARGV

2005-11-03 Thread listmail
sorry listers, I didn't notice that RR's webmail html app. was adding conversation attachments when I hit reply and then changed the email around for my needs. Second, thanks for another great response $Bill. I'll investigate the Getopt module as well. - Original Message - From: $Bi

Re: [Perl-unix-users] parsing ARGV

2005-11-03 Thread Jeff D
Take a look at the perl documentation for Getopt::Std (for letter type switches...i.e: "-s") and/or Getopt::Long (for word type switches ). I believe these modules are included with every standard Perl distribution. There are plenty of code samples in the documentation to get you rolling. HTH JD

RE: [Perl-unix-users] parsing ARGV

2005-11-03 Thread Peter Eisengrein
> Before I roll my own ARGV parse code I wanted to know if someone had > some sample code to get me started. I just want to be able to pass > simple switches that contain one parameter each to my perl > app. check out the Getopt module and all it's many variants.

Re: [Perl-unix-users] parsing ARGV

2005-11-03 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Before I roll my own ARGV parse code I wanted to know if someone had > some sample code to get me started. I just want to be able to pass > simple switches that contain one parameter each to my perl app. I have > looked to the list first for I plan to accept the swi

Re: [Perl-unix-users] parsing ARGV

2005-11-03 Thread pDale
On 11/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Before I roll my own ARGV parse code I wanted to know if someone had > some sample code to get me started. Bring up a command prompt and type "perldoc Getopt::Long". Being a long-time Unix geek, I prefer Getopt::Std. -- HTH pDale "...in t

[Perl-unix-users] parsing ARGV

2005-11-03 Thread listmail
Before I roll my own ARGV parse code I wanted to know if someone had some sample code to get me started. I just want to be able to pass simple switches that contain one parameter each to my perl app. I have looked to the list first for I plan to accept the switches in any order, but only allo