-Original Message-
From: Lee Clemmer [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 2:42 PM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Problems with Win32::TieRegistry SetValue for
REG_MULTI_SZ type.
When I use this function:
$key-SetValue(
(From the Activestate docs on Win32::TieRegistry...)
snip
REG_MULTI_SZ
These values can also be specified as a reference to a list of strings.
For example, the following two lines are equivalent:
$key-SetValue( Val1\000Value2\000LastVal\000\000, REG_MULTI_SZ
);
$key-SetValue(
Allegakoen, Justin Devanandan wrote:
So question is, if this string was packed with pack in Perl would it be
interpreted by the hardware that it's pumped into in the same way
that the resultant compiled Pascal output would?
If it helps any here's a sample Pascal line that gets compiled:-
Hi,
Does anyone know how to get the DBD::Oralce module to be installed in
5.8.0 build 804? I had the DBD:Oracle module installed in 5.6.1 before.
I've just upgraded to 5.8.0 yesterday. I could install DBD::ODBC and
DBD::CSV but couldn't install the DBD::Oracle module.
Thanks for the
Hi
What your friend has done is assign the last
element of the array @dir to $free. Perl array elements are accessed as
$array_name[element_index] where the element index begins at zero. So to get the
1st element of @dir you could write print $dir[0], to get the third $dir[2] etc
...
The
Hi there!
I wanted to watch the communication between browser and server and found
that nice ProxyMod-Module. But for some reason it doesnt work.
This is the code:
use Net::ProxyMod;
$p = Net::ProxyMod-new(172.16.3.1, 8080, , 0, 1);
$p-get_conn(\infunc,\outfunc);
sub infunc
{
I am using perlscript in an asp page that was working fine on one box for a
couple months and I moved it to another. Now after running for several
hours I get the error (below) on this page which makes no sense. Nothing
changes if I bounce IIS but if I reboot the box, everything is fine for a
I am currently in the process of building a war dialer. I am using the
win32::RASE on a windows 98 SE box using standard DUN.
I am currently running into a problem with setting one of the Flags or
keeping the Flag set if I do it manually.
The Flag is under Server Types when you look at a
Hello,
I have a hash that looks like this:
my %sql_hash = (A = [2, 6, ],
Q = [1, 3, ],
D = [5, 8, ],
X = [4, 2, ],
P = [3, 12, ]);
The key is an arbitrary string (e.g. D). The key order is not determined
by this key string,
Title: RE: .CAB?
-Original Message-From: FARRINGTON, RYAN
[mailto:[EMAIL PROTECTED]]
damn =) ah well... Thanks I was doing that anyway but I wanted
to find a way to do it totally in PERL and not have to rely on a third-party
executable
How ambitious are you feeling? M$
John,
The problem is outlined in the Net:Telnet documentation. The loads of
gibberish is ANSI terminal escape characters. I haven't worked with that
exact telnet application, but some allow you to turn ANSI off and on
The gibberish is ANSI escape sequences for moving the cursor around on the screen
that the telnet server believes it is connected to. You need to turn it of with the
ANSI sequence by ensuring that Console mode is no.
From the Net::Telnet POD.
Connecting to a Remote Win32 Machine
By default,
Try one of
these Perl varaiables:
$OSNAME$^O
The name of the operating
system under which this copy of Perl was built, as determined during the
configuration process. The value is identical to $Config{'osname'}.
For example
under WindowsNT the output of 'print $^O' is 'MSWin32'.
Peter
Yep!
Thanks everyone, this was it. I should know better, but the examples
don't show references \@array anywhere. I was forgetting the meaning of
[1, 2, 3] as an anonymous array that would require a reference.
After making the change from @junklist to \@junklist in my code, it
works properly.
Paul Rousseau wrote:
Hello,
I have a hash that looks like this:
my %sql_hash = (A = [2, 6, ],
Q = [1, 3, ],
D = [5, 8, ],
X = [4, 2, ],
P = [3, 12, ]);
The key is an arbitrary string (e.g. D). The key order is not
I sent this about 2 weeks ago, with only one reply that i couldnt use. If
no one knows the answer, does anyone know where i might find the answer??
BTW: I am not using PerlScript in ASP - this is just plain ol' perl
directly from IIS.
Thanks,
16 matches
Mail list logo