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::
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
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
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
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
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
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
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
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]
>
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
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
11 matches
Mail list logo