Re: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Dave Baker
Humberto Rodriguez wrote: Here is the code snippet that does not work: #!/usr/bin/perl -w # folder.cgi use strict; use lib '/path/to/cgi-bin/webmail/modules'; Humberto, have you replaced the '/path/to/cgi-bin/webmail/modules' with the actual path name (in single quotes) to the modules? use Mail::

Re: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread $Bill Luebkert
Humberto Rodriguez wrote: > Chad Uretsky wrote: > >>Did you try removing the single quotes from the "new" > > statement? > > Yes, Chad; I tried removing the single quotes and leaving no > quotes at all; I tried using double quotes; using only the > folder type literally, with single, double

[Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Humberto Rodriguez
Chad Uretsky wrote: >Did you try removing the single quotes from the "new" statement? Yes, Chad; I tried removing the single quotes and leaving no quotes at all; I tried using double quotes; using only the folder type literally, with single, double and without quotes; to use the folder type as

Re: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread mario sanchez
humberto - refer to my email about inconsistencies in single/double quotes when using mail best mario On Mon, 14 Mar 2005, Humberto Rodriguez wrote: Thanks Jeff; I tried that and I also tried just connecting with the folder type, without a folder name, which the documentation says may be done sub

[Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Humberto Rodriguez
Thanks Jeff; I tried that and I also tried just connecting with the folder type, without a folder name, which the documentation says may be done subsequently, with an "open" statement; still, the object does not connect. $folder is undefined after the "new" statement. I really don't know what

RE: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Matt Schneider
Peter, Single quotes means to interpret whatever is between them literally. Therefore the $ that marks your variable is interpreted as only a dollar sign and not the start of a variable name. '$folder_name' is the same as saying "\$folder_name". Matthew Schneider System Admin / Programmer SKLD I

RE: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Chad I. Uretsky
Try eliminating the single quotes in both the $folder = new Mail::Folder statement, and in the $folder->open statement. Just use the variable names (or substitute double quotes in both statements). I think you're probably running into a problem in the "new" statement. Chad Uretsky Lead Network a

Re: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread mario sanchez
peter, double quotes/single quote usage is variable - incredibly enough. in some cases i use a variable in single other times double around a variable. this practice came about from not being able to be consistent without getting an error. why, dont know. hope this helps mario On Mon, 14 Mar 20

[Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Humberto Rodriguez
No Peter, thanks for your suggestion, but I tried it and I still get the same result. Haven't been able to figure this out. Thanks anyway. Humberto Try changing your 'quotes' to "double quotes" in the open. > -Original Message- > From: Humberto Rodriguez [mailto:[EMAIL PROTECTED] >

RE: [Perl-unix-users] Pattern match: name [keyword csv] [keyword csv] ...

2005-03-14 Thread Thomas, Mark - BLS CTR
Todd J Pardi wrote: > I am trying to extract a name that may have 0 or more > keywords followed by comma separated values (or a job > definition in TWS terms). It would be best if you show us exactly what your input is and exactly what you want your output to be. > I seem to have it figured out f

RE: [Perl-unix-users] Accessing mail from the web

2005-03-14 Thread Peter Eisengrein
Try changing your 'quotes' to "double quotes" in the open. > -Original Message- > From: Humberto Rodriguez [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 12:27 AM > To: perl-unix-users@listserv.ActiveState.com > Subject: [Perl-unix-users] Accessing mail from the web > > > Dea