On our CPAN search site at
http://cpan.uwinnipeg.ca/htdocs/faqs/cpan-search.html
I've been looking at a method whereby, after a client does
some initial setup and configuration, special links can be
used to launch applications that will install ppm packages
(via the ppm utility) and also build a
Thank you for responding. Please see my detailed explanation, posted to Bill
Luebkert recently.
On Wednesday, June 29, 2005 10:42:45 +0200, Johan Lindstrom
[SMTP:[EMAIL PROTECTED] wrote:
> If you're familiar with OO, that sounds like the way to go. You have data.
> You have subs that act on this
On Wednesday, June 29, 2005 2:19 AM, $Bill Luebkert [SMTP:[EMAIL PROTECTED]
wrote:
> Your explanation leaves a little to be desired. You could knock it
> down to a single hash that contains pointers to all your arrays if
> that helps. Then you could use names instead of numbers (or not).
> Not s
Thanx Matt,
I try the first method, if that fails I at least can use the 2nd method of
editing the GPO file directly. The file format of GPO is rather straight
forward, thus can be easily manipulated using Perl scripts. What I could do is
create copies of the GPO file elsewhere, modify them. Th
Lyle Kopnicky wrote:
> Thanks folks. I think I'll go with looks_like_number from
> Scalar::Util. I like to use library routines where possible. I don't
> know how I overlooked that, since I poked through Scalar::Util earlier.
>
> It just seems bizarre to me that something like that isn't a b
Thanks folks. I think I'll go with looks_like_number from
Scalar::Util. I like to use library routines where possible. I don't
know how I overlooked that, since I poked through Scalar::Util earlier.
It just seems bizarre to me that something like that isn't a builtin. I
mean, you can't eve
Paul Rogers wrote:
> I have a function which does numeric testing. It's worked pretty well. As
> you can see, I also made a notation to myself when I was constructing it
> that I may wish to change it to simply using Scalar::Util. I can't remember
> why I opted not to use it (maybe I was jus
- Original Message -
From: "Paul Rogers" <[EMAIL PROTECTED]>
>
> # NOTE: at some point, may wish to substitute with...
> # use Scalar::Util qw(looks_like_number);
> # print "Number" if looks_like_number($number);
>
use warnings;
use Scalar::Util qw(looks_like_number);
$input = "
I have a function which does numeric testing. It's worked pretty well. As
you can see, I also made a notation to myself when I was constructing it
that I may wish to change it to simply using Scalar::Util. I can't remember
why I opted not to use it (maybe I was just lazy ;-).
hth,
Paul ---
Lyle Kopnicky wrote:
> Hi folks,
>
> I have a seemingly simple problem, but I can't find a satisfying
> solution. I have a function which tests to see if a value represents
> what I want to call "true". Here's a simplified version:
>
> if ($val =~ /true/i || $val =~ /t/i || $val != 0) {
[EMAIL PROTECTED] wrote:
> Hi folks,
>
> I have a seemingly simple problem, but I can't find a satisfying
> solution. I have a function which tests to see if a value represents
> what I want to call "true". Here's a simplified version:
>
> if ($val =~ /true/i || $val =~ /t/i || $val != 0) {
I think the fact that the POSIX module is almost entirely XS based, makes it
"different" and "much more dangerous" than, say, constant.pm. The latter is
pure-Perl, whereas the former contains the following note:
---
The POSIX module is probably the most complex Perl module supplied with the
s
At 02:55 PM 6/29/2005, Joe Discenza wrote:
Peter
Eisengrein wrote, on Wed 6/29/2005 13:04
: > Can someone tell me what's going on in my script? Here it is:
: >
: > use strict;
: > use POSIX qw(INT_MAX);
: >
: > my $i = INT_MAX;
: > my $n = INT_MAX - 1000;
: > print("i = $i\n");
: > print("n = $n
Hi folks,
I have a seemingly simple problem, but I can't find a satisfying
solution. I have a function which tests to see if a value represents
what I want to call "true". Here's a simplified version:
if ($val =~ /true/i || $val =~ /t/i || $val != 0) { return 1; } else
{ return 0; }
T
Another user kindly pointed the filtering idea out to me. I have since
done so.
-- Craig
Ted Schuerzinger wrote:
Craig Cardimon graced perl with these words of wisdom:
I would like to request better, but still brief, subject lines.
My email system flagged the original "mystery" email as sp
>
> The problem I'm having is with HTML emails, but that's a
> topic for another
> thread :-|
>
You just had to open THAT can of worms again, didn't you?
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe:
Craig Cardimon graced perl with these words of wisdom:
> I would like to request better, but still brief, subject lines.
>
> My email system flagged the original "mystery" email as spam.
> Thunderbird's success rate is 99 percent. The 1 percent where it fails
> is where the subject lines are, w
Title: RE: mystery
Peter Eisengrein wrote, on Wed 6/29/2005 13:04
: > Can someone tell me what's going on in my script? Here it
is:: >: > use strict;: > use POSIX qw(INT_MAX);:
>: > my $i = INT_MAX;: > my $n = INT_MAX - 1000;: >
print("i = $i\n");: > print("n = $n\n");: >: : Not sure of
Alan,
All of the settings within Administrative Templates are basically just registry
settings, but the file format they're stored in is different than the normal
registry hive file format. You may have some luck trying to modify them by use
of the IGroupPolicyObject interface (
http://msdn.m
I would like to request better, but still brief, subject lines.
My email system flagged the original "mystery" email as spam.
Thunderbird's success rate is 99 percent. The 1 percent where it fails
is where the subject lines are, well, mysterious, or composed of one or
two words.
Is anyone el
I confirmed your result. By placing parens around INT_MAX...
use strict;
use POSIX qw(INT_MAX);
my $i=INT_MAX;
my $n=(INT_MAX) - 1000;
print "$i\n";
print "$n\n";
... the totals appear correctly.
LR
>
> From: John Deighan <[EMAIL PROTECTED]>
> Date: 2005/06/29 Wed AM 10:04:11 EDT
> To: perl-
> Can someone tell me what's going on in my script? Here it is:
>
> use strict;
> use POSIX qw(INT_MAX);
>
> my $i = INT_MAX;
> my $n = INT_MAX - 1000;
> print("i = $i\n");
> print("n = $n\n");
>
Not sure of the *why* (I'm sure someone on the list smarter than I can
answer), but it works if y
Can someone tell me what's going on in my script? Here it is:
use strict;
use POSIX qw(INT_MAX);
my $i = INT_MAX;
my $n = INT_MAX - 1000;
print("i = $i\n");
print("n = $n\n");
It prints out:
i = 2147483647
n = 2147483647
i.e. $i and $n are identical. If I change the second line to:
my $n =
They are under the user part of the GPO, mostly under the administrative
template. The main group of settings are for which applications may be used by
the user, what is not allowed to be used, plus other handy windows environment
settings.
Alun
>>> "Matt Clark" <[EMAIL PROTECTED]> 06/29/05 10
- Original Message -
From: "L. Neil Johnson" <[EMAIL PROTECTED]>
> I was initially misled by PERL in a Nutshell which
> says, under Namespaces and Packages, "If the package name is null, the
main
> package is assumed. For example, $var and $::var are the same as
> $main::var" (p. 160).
At 08:57 2005-06-29, L. Neil Johnson wrote:
Problem Statement: The main program creates an array of pointers to
(Besides the point: there are no pointers in Perl. There are references
though.)
anonymous arrays, each of which has about 10 elements. Since I am in the
development phase, I k
Karl-Heinz Kuth wrote:
> Hi,
>
> first time I answer myself ;-). Here's my solution:
>
> I cut off the cmd-file for the example and set the env var in the
> script. After all, the value of the env var "%%FOO_TOKEN%_DIR%" will be
> created without using the env vars "FOO_TOKEN" or "BAR_DIR" d
L. Neil Johnson wrote:
> Problem Statement: The main program creates an array of pointers to
> anonymous arrays, each of which has about 10 elements. Since I am in the
> development phase, I keep changing the order and identity of the elements.
> Because there are many lines of code that ref
Could you be more specific about what GPO settings you want to alter? Are they
administrative templates, advertised applications, etc?
Matt Clark
Unit Head, Desktop Services
IT Department
UCSD Libraries
>>> "Alan Peck" <[EMAIL PROTECTED]> 06/28/05 10:59PM >>>
Is this possible using Perl scripts
Karl-Heinz Kuth wrote:
> So the perl script does the following:
> 1) reads the cmd-file
A few sample lines please (or the line format).
> 2) set the env vars
Based on the cmd-file contents ?
> 3) reads the ini-fle
Which uses the stuff from the cmd-file to aid in resolving
some items ?
> 4) s
Is this possible using Perl scripts: To alter the values (including lists) of
GPO's attributes?
I need to impliment some form of time controlled GPOs for speciallized groups.
I know Win2K3 still does not support GPO values merging (not inherintance or
overriding) and no time control features th
Is this possible using Perl scripts: To alter the values (including lists) of
GPO's attributes?
I need to impliment some form of time controlled GPOs for speciallized groups.
I know Win2K3 still does not support GPO values merging (not inherintance or
overriding) and no time control features th
Problem Statement: The main program creates an array of pointers to
anonymous arrays, each of which has about 10 elements. Since I am in the
development phase, I keep changing the order and identity of the elements.
Because there are many lines of code that reference those elements, I
abando
33 matches
Mail list logo