Chad Kemp wrote:
> Mathew,
>
>try to test every condition going INTO the hash (or hashes) before
> you actually assign a value to a key. as mentioned earlier, hashes must
> be key/value pairs. the key will auto-vivify if a key is "new" but only
> if a corresponding value accompanies it. whe
Lennart Andersen 写道:
Can't locate object method "new" via package sendmail
Can anyone tell me why I get this error?
why not Mail::Box
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
The original ppl asked about sendmail.pm not Mail::Box.
Does sendmail.pm belong to Mail::Box?
-邮件原件-
发件人: Wan [mailto:[EMAIL PROTECTED]
发送时间: 2007年3月25日 19:15
收件人: Lennart Andersen; beginners@perl.org
主题: Re: error in using sendmail.pm
Lennart Andersen 写道:
> Can't locate object method "n
Lennart Andersen wrote:
Can't locate object method "new" via package sendmail
Can anyone tell me why I get this error?
It's called SendMail as far as I know. Do you have it capitalized correctly?
(I'm assuming you have installed SendMail and have a 'use SendMail' statement
in your code, righ
> ""Mumia" == "Mumia W " writes:
"Mumia> On 03/23/2007 04:59 PM, Matt Herzog wrote:
>> Hello All.
>> I can see why people hate this module but I can't seem to let go.
>> [...]
"Mumia> It's not really letting go if you use the File::Find::Rule module which
uses
"Mumia> File::Find behind the
Hi list
I am using HTML::TreeBuilder to parse a html page and find a specific
value.
When i dump the array i get this:
$tree->dump();
more..
@0.1.0.1.1.0.0.0.0
@0.1.0.1.1.0.0.0.0.0
"MAC Address"
@0.1.0.1.1.0.0.0.1
Brandino Andreas wrote:
Hi list
I am using HTML::TreeBuilder to parse a html page and find a specific
value.
When i dump the array i get this:
$tree->dump();
more..
@0.1.0.1.1.0.0.0.0
@0.1.0.1.1.0.0.0.0.0
"MAC Address"
Hi,
I have a collection of modules that I have written, each in their own
package.
At the start of each module file I have:
package xxx::module_1;
use strict;
use warnings;
use lib qw( /path/to/my/lib );
use xxx::module_2;
use xxx::module_3;
use xxx::module_4;
use xxx::module_5;
use Exp
Nigel Peck wrote:
The exported routines work fine in my main script, but when I try to use
a routine in one module from another module I get "Undefined subroutine".
I believe you hit 'circular dependencies'. While perl will actually let
you do this, its bad style in any language. You should m
Philip M. Gollucci wrote:
I believe you hit 'circular dependencies'. While perl will actually let
you do this, its bad style in any language. You should move common
subroutines to an additional module and it it in the others. Just don't
use the others in this new.
Thanks Philip, I sorted o
On Fri, Mar 23, 2007 at 03:09:31PM -0700, Wagner, David --- Senior Programmer
Analyst --- WGO wrote:
> > -Original Message-
> > From: Matt Herzog [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 23, 2007 15:00
> > To: Begin Perl
> > Subject: File::Find again
> >
> > Hello All.
> >
> >
On Sunday 25 March 2007 18:14, Matt Herzog wrote:
> On Fri, Mar 23, 2007 at 03:09:31PM -0700, Wagner, David --- Senior
Programmer Analyst --- WGO wrote:
> > > -Original Message-
> > > From: Matt Herzog [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, March 23, 2007 15:00
> > > To: Begin Perl
> return unless /($searchstring)/;
As I've said,
return unless /\Q$searchstring/; # using '\Q' to disable pattern
metacharacters
is this maybe better?
-邮件原件-
发件人: Matt Herzog [mailto:[EMAIL PROTECTED]
发送时间: 2007年3月26日 9:14
收件人: Begin Perl
主题: Re: File::Find again
On Fri,
13 matches
Mail list logo