I bet the screen saver and background images are simply registry values. If
I were trying to do a similar task, I would search Microsoft's web page to
find out what registry setting is used to set these things, and then get a
registry module from www.cpan.org to set the registry key.
Or
I have the following condition:
if ( $x =~ /^[one|two|three|four]/ ) { ...}
However, I would like to test for values in an array; for example:
@array = ( "one", "two", "three", "four" );
Can I now write the regexp to pull out the values of the array instead,
making the regexp
I am looking for statistics modules to enable me to fit trendlines to
charts. I am thinking of linear regression, logrithmic, exponential, power
and moving averages. I found a module called Statistics OLS dated 1998.
Before I continue to look for modules I thought I would ask the community
i have a @list that contains elements i do not know. i'm using grep to match
some words inside the @list.
for example:
$match = grep /\d/, @list;
my question is: is there a way to find the element No. eg: $list[number] of
the latest match?
($first_hit_number) = grep( $list[$_] =~ /\d/,
Justin Rogers said:
Everyone is saying that ASP caches pages in memory, but not the compiled
pages. But I'd like to go straight to the root of the problem and that
lies in some C/C++ code. So here goes:
An Active Scripting Engine has to support many interfaces (thus the way of
COM),
I'm trying to retrieve version information from file(s).
It seems that I have to use 3 Win32 functions:
Personally, I just use Win32::AdminMisc
use Win32::AdminMisc;
my %vInfo;
if (Win32::AdminMisc::GetFileInfo( $file, \%vInfo ))
{
print "$_ : $vInfo{$_}\n" foreach sort keys
Jan Dubois wrote:
No, Active Scripting Engines can support a Clone() method to allow
duplication of already compiled scripts. This isn't implemented in
PerlScript from builds 5xx whereas VBScript and JavaScript do support it.
Exactly the sort of call I expected - now why did I think I
anyone know how to change the colors in ntemacs syntax highlighting? the
default colors aren't very legible.
Put the following Lisp in your startup file (c:\_emacs unless you've made one
elsewhere).
Close emacs and start it up again.
This gives colours more like the PC norms (eg comments
Can you suggest any other areas for me to explore?
First thing, if you're running IIS with NT Challenge Response authentication
enabled, then the script runs with the permission of the browsing user, NOT the
web server user, and if the access file is on another computer then you won't be