Hello,
I am trying to call a certain method from an object. Take a look ..
Regular way of calling the method
$myobject-callmethod(@params);
this is what I would like to achieve
$temp = "callmethod";
$myobject-{$temp}(params);
Any help would be appreciated.
Roee Rubin
Irubin Consulting
Please help!
How do I change Matts formmail so it works on win2000?
Hope someone can help me...
_
Trine Schunck
Civilingenir
HENRIK LARSEN
Rdgivende Ingenirfirma F.R.I
Godthbsvnget 4
2000 Frederiksberg
Telefon +45 38 10 42 04
you can a package such as Mail::Sendmail
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Trine Schunck
Sent: Wednesday, March 21, 2001 11:32 PM
To: [EMAIL PROTECTED]
Subject: formmail
When I run win2000, what should my $mailprog =
If the object is Win32::OLE object you could use Invoke method (see
Win32::OLE doc)
Or you could use eval:
$temp = 'callmethod';
@param = ( 'a','b','c','d' );
eval "\$myobj-$temp(\@param);";
-- Petr Smejkal
-- European Data Administrator
-- Tesco / EuroIT / Business Systems
-- Tesco HO
- Original Message -
From: Greg Wilson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 21, 2001 2:43 PM
Subject: encryption module that works on NT
Hi,
I am looking for a module that is able to be installed on
Windows NT platform. I have tried CBC with
Jeremy wrote:
Just as a suggestion though, I think it may
be better to use the GetFirst GetNext methods
instead of gathering the entire message collection.
I'll investigate this, thanks. The main reason I'm currently
doing it the way I am is that this is the way it's done in
all the
On Fri, 16 Mar 2001, David Blaikie wrote:
how can I determine the current package? I want perl to tell me what
package it is in. I do not have any other way of knowing what package
I'm
in.
Call a subroutine and return (caller())[0];, e.g.
sub mypackage{
return (caller())[0];
}
Nadav Popplewell wrote:
On Fri, 16 Mar 2001, David Blaikie wrote:
how can I determine the current package? I want perl to tell me what
package it is in. I do not have any other way of knowing what package
I'm
in.
Call a subroutine and return (caller())[0];, e.g.
sub
[EMAIL PROTECTED] wrote, on Thursday, March 22, 2001 18:26
: I think I am going to just make a separate sub. I have a hash of "sites"
: keyed by "site name" and storing a "site object". I'd like to be able to
: pass either the whole deal back (hash), just a count of
: "sites"(scalar), or
: just
Jeremy - thanks for putting me on the right track.
The following, I'm relieved to say, works:
# Get first email
print $messages-GetFirst()-{Subject} . "\n";
# Get the rest of 'em
for ($i=2;$i=$message_count;$i++)
{
print $messages-GetNext()-{Subject} . "\n";
}
So it would appear that
You don't need Oracle installed on your machine, just the ODBC driver,
install the MDAC version 2.6 and it will be installed. Or you can visit
Oracle on-line for the latest ODBC/ADO drivers.
Mark
-Original Message-
From: Mauricio Lairet P. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
[EMAIL
FYI, I do it like this:
$message = $messages-GetFirst();
while($message) {
blah {
blah;
}
$message = $messages-GetNext();
}
I'm interested in knowing if anyone sees a problem with either of our
formats. Is there any potential problems that anyone can see?
As per the MS
What happens if you run this same code in a (ACK!) VBScript? I wonder if it
would display the correct information or not? If it does, then it may
indeed indicate a problem with Win32::OLE, if it doesn't then it could be a
problem with CDO?
Jeremy Blonde
And even simpler: these two lines
FYI, I do it like this:
Yes, I know the code I posted wasn't terribly good,
I was just quickly expressing that the GetNext methods
etc work for me (yay!). Now, that I have it working,
I've implemented it a little better... :)
If you will be doing more than just 1 operation on
the
Hi folks!
I wanted to ask something to you.
Someone asked me to read an Oracle database but I need the software
installed on my computer in order to test the database and Perl, am I right?
I dont have Oracle installed in my PC, just the odbc dirver.
can someones please tell me what do I need
I tried installing Time::HiRes, via ppm. It seemed to install just fine,
but when I tried to "use Time::HiRes;" in a perl script, I got the error
below. Does anyone know why? I'm running Windows 2000 Pro, and the latest
version of ActivePerl.
Can't load
You'll need the appropriate Oracle client (free from your DBA), the
DBI::Oracle and DBD modules (assuming you already have Perl installed and
you don't have those modules installed). You'll need to create an entry in
your workstation's TNSNAMES file. Best to have your Oracle DBA fill you in
on
Thanks goes out to Michael L. Semon for providing me with the solution.
Replace
$endcolnum = ord("L"); #hard-coded column.
with
$endcolnum = $startcolnum +
$Sheet-Cells-SpecialCells(xlCellTypeLastCell)-{'Column'};
-Original Message-
From: Rousseau, Paul
Sent:
Are there any other modules to consider for Win 32 dial-up networking
than Win32::RASE?
Thanks,
Marcus Friedlaender
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
If you are using the perl-DBI module, you'll need the client portion of
Oracle on your machine. (Unless you want to use DBI-proxy to connect, you'll
need to install the dbi-proxy module on the oracle server (or any other
machine that has the oracle client software).
-S
20 matches
Mail list logo