-8--
I do remember something long ago
where someone gave me a short perl script to generate the documentation,
but I have long
since lost the script.
-8--
You're not looking for the following are you?
% perl -MActivePerl::DocTools -e UpdateHTML(wait)
Just
--8---
I wish we could have a y2k hype scare every year. I made a bundle in 99'
testing for y2k compatibility. Anyone else?
--8---
I thought the next hype to wait for was Jan 19th 2038 03:14:07
Isn't that the max for 32 bit machines and their date representation?
Just in
-8
PPM is one of question but main question is that SFTP can be
working on Win32.
-8
The short answer based on my experience is it's supposed to work but I
couldn't get it to work. I gave up and downloaded PuTTY and used
pscp.exe specifically as a system call (YIKES)! to
---8
When I manually open an Excel file, it bring up a dialog box
stating that the workbook contains links to other data sources
and asking if the data should be updated.
---8
Try and see if you can supress the pop up with this:-
$Excel-{DisplayAlerts} = 0;
---8---
Just-in's other suggestion was If not you may have to fudge
something with Win32::GuiTest, but didn't elaborate on
the something ...
---8---
Going down the GuiTest path is forcing things in a less than elegant
way.
Why not have a dig around in the Object browser
--8---
I would start by looking in Scriptomatic for a WMI call into the fonts
system. And then use that with the standard OLE perl thingy to get
the
information. Of course if u just listed the fonts directory u would
have to
decode the font files urself to get their presentation
8--
Can anyone suggest a way to make a list of the names of the fonts
installed on a Windows system? -- Thanks
8--
use strict;
use warnings;
my @Fonts;
my $Dir = $ENV{'windir'}\\Fonts;
chdir $Dir or die Cant cd to $Dir:- $!;
foreach my $Font(*)
{
push @Fonts,
--8
I've found that if I create a new TaskScheduler, then by default it
operates on the local host. But if I change it to point at another
host, then want to point it back at the local host, I don't know how,
without knowing the name of the local host. It isn't convenient, the
---8--
in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains
a DsEnumerateDomainTrustsW and DsEnumerateDomainTrustsA version of this
call.
From the Win32::API docs:
Also note that many Win32 APIs are exported
8---
why does the Add function work here past a sheetcount of 255, when
the Copy function that I mentioned in my original post, throws an
error when when the sheetcount 255 ???
I should have mentioned in my original post that I have an
existing Excel sheet that
---8
On some (perhaps all) laptops running Windows XP
closing the lid puts the system into hibernation.
---8
You can override this setting: start - Settings - Control Panel -
Power options - Advanced and select 'Do nothing' When I close the lid
of my portable
8-
use Net::SSH::W32Perl;
my $ssh = Net::SSH::W32Perl-new($host, debug=1);
$ssh-login('x', 'x');
my($stdout, $stderr, $exit) = $ssh-cmd('ls', \n);
print $stdout\n$stderr\n$exit\n;
8--
It works well but I'm searching something particular. I need to write a
hyperlink inside a cell and displaying something else as the text.
8--
You should record a macro and convert the generated VBA to Perl to see
where youre going.
The trick with this is to treat
8-
I use doxygen help me create a document for a project which
contain thousands of .html files and spend about 2 hours.
But when I open the index.html I find that the title I used is
wrong So I must modify this title.
I come here to get some help that I
I hope the list can help contribute a complete working solution to this
so that it's documented in at least one place. I've been digging around
all over the place with testimonies that Net::SSH::W32Perl with
Net::SFTP works, but it's evading me.
It still seems that soulcage.net is down, but Randy
PROTECTED] On Behalf Of
Allegakoen, Justin Devanandan
Sent: Tuesday, January 03, 2006 12:52 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: Not::SSH::xPerl and SFTP driving me potty
I hope the list can help contribute a complete working solution to this
so that it's documented in at least
List,
Anyone know where I can get hold of Net-SSH-W32Perl.ppd with all the
supporting ppds?
Soulcage.net has been down for at least a week now, and Scott doesn't
seem to be answering his e-mail.
I promptly gave up trying to manually install when I lost count of the
amount of prerequisite
---8---
I've been using Perl for a number of years,
---8---
And you post code with no use strict and warnings? :p
Actually what you posted fails to run. So I tidied it up a bit and got
this to copy and paste as you desired. Do allow for line wrap.
CODE
use
8---
Has anyone else noticed this? And has anyone at ActiveState noticed it
and
if so is anything being done about it? What I'm talking about is the
rand()
function that doesn't seem to be so random after all. Atleast 4 times
now,
over a multi day period, it has spit out the
-8-
#build an array of our alphabet
@halfabet = qw/a b c d e f g h i j k l m n o p r s t u v z/;
-8-
my @halfabet;
push @halfabet, $_ for 'a'..'z';
Nicer, and compiles under strict and warnings which Steve seems to have
left out.
Cheers Just in
8-
You've included q,w,x,y which were not part of the characters in
@halfabet. It wasn't just my bad typing, it was a part of the problem.
8-
Yeah, my bad. I guess your comment threw me off . . .
8-
push @halfabet, $_ for 'a'..'p','s'..'v','z';
But I think
-8--
It seems to me that when you get a warning, you're doing something wrong
or it wasn't coded to take all possibilities into consideration - so I
never turn off warnings or strict. I already found two legit bugs in
that
module, so I'm guessing there are more to find.
--8
# no warnings;
next if $This =~ /\.pl$/;
The above should be 'return' rather than 'next'.
--8
Why didn't I think of that?
--8
Where is your description of the error ?
--8
I supplied the smallest failing sample
--8---
has been used succesfully on Windows98 (with the
Microsoft Speech SDK installed) and on Windows 2000
(which has it installed by default, apparently).
The same code does not, however, work on Windows XP.
What has changed?
There IS a text-to-speech service on XP.
How do I
8--
All PHB's are in need of training.
===
I get this acronym:
PHB Psycho Hose Beast
??
8--
It's Pointy Haired Boss from the comic strip Dilbert. I'm positively
sure that Scott Adams worked for Intel at some stage of his life . . .
8-
Yep - I still get that notification.
Obviously they don't like Aussies.
Hmmm ... I didn't think there were any Kiwis on this list.
8-
Nope it only targets the $10 poms. $15 poms are left out because they
paid extra (justified by the extra distance the
-8---
eval{} will trap fatal errors such as syntax errors - and place them in
$@ which you can then write to the logfile. But it won't trap warnings -
-8---
Assuming we're talking about Perlscript within an ASP it would be
prudent to install the module
8
However, we have a new problem - whenever a script encounters
$Response-Redirects() we get the following error:
Active Server Pages error 'ASP 0240'
Script Engine Exception
/shared/conference/admin/logout.asp
A ScriptEngine
---8
^Z on windoze
---8
^D or ^Z I still have to hit enter after it. Unless theres a subtle
difference that I'm missing.
Anyway, just to reiterate my point, because James sent me a reply
offline as well:-
c:\perl\Programsperl
system cmd /C date /t;
system cmd /C
On one of my WinXP machines I notice the following:
c:\Perl\Programsperl
system(date /t);
system(time /t);
print scalar localtime;
^D
Thu 01/13/2005
03:26 PM
Thu Jan 13 07:26:44 2005
c:\Perl\Programs
Im in a GMT +8hrs timezone and the system time reports that correctly,
but localtime seems to be
You'll need to add Mr C's repository to your ppm:-
ppm rep add http://dada.perl.it/PPM
Then install as necessary
Cheers
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Lasher, Brian
Sent: Thursday, December 16, 2004 7:13 AM
To: [EMAIL PROTECTED]
, use the
New button to add the settings HTTP_proxy_user and HTTP_proxy_pass,
with your user name and password as the respective values.
-Original Message-
From: Allegakoen, Justin Devanandan
Sent: Thursday, December 16, 2004 8:02 AM
To: [EMAIL PROTECTED]
Subject: RE: problems installing
--8---
#$_=q;steal Porch Junk;;split//;$_=q=cd0153e71;
#s/56s/45;39fs/=;y;\;s/;a28s/;;;s;$/;;;s((.))/;
#q.$_[..$..$_[10].$_[2].q.x..q.($1)]./gee/print
--8---
That's one convoluted JAPH!
I like to pick through admirable JAPH's like this in an attempt to learn
more
:[EMAIL PROTECTED] On Behalf Of
Allegakoen, Justin Devanandan
Sent: Wednesday, October 06, 2004 12:35 AM
To: [EMAIL PROTECTED]
Subject: BSOD - perl one liner
Just out of interest anyone have that funky little perl -e one liner
that
causes Windows to puke and die?
I remember it has some \n's
Just out of interest anyone have that funky little perl -e one liner
that causes Windows to puke and die?
I remember it has some \n's and \t's in it. I can't find it in the
archives, and it may only work on Win2k since it was posted quite a
while back.
Just in
Gisle,
I'm slightly confused as to what should be the correct approach with the problem I'm
facing. As the original author of the module I'm indrectly using, it would be best for
you to have the final say.
I wrote a program to extract links from a HTML document e.g.
--8-
Is what you are looking for in the environment variables?
foreach $key (sort keys(%ENV)) {
print $key = $ENV{$key}\n;
}
--8-
Probably not, or at least not when I was trying to access them last week.
I was trying to get hold of the logged
PROTECTED] On Behalf Of Allegakoen, Justin
Devanandan
Sent: Thursday, March 04, 2004 8:03 AM
To: perl-win32-users
Subject: RE: IIS sesión variables
--8-
Is what you are looking for in the environment variables?
foreach $key (sort keys(%ENV)) {
print $key = $ENV{$key
List,
I know there's exe2perl, but a while back I remember there being a
thread with a link to a C program that can extract Perl from an
executable.
Anyone know where it is?
Thanks
Just in
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To
I'm using Archive::Zip and Archive::Zip::Tree to zip a hefty folder, and
its sub folders. What I'd like to do is display how much has been done.
Since perl executes line by line I was wondering how to display the
percentage completed. I mean nothing is going to execute until these
lines get
Lo Bernard,
You can use Scheduled Tasks under the Control Panel for a Windoze
equivalent. Note that ST's do require a .exe to run. So what you do is
provide the path to the perl, and supply your program after it.
e.g. Under the task tab, at the run text entry type:
C:\Perl\bin\perl.exe
--8---
If you'll notice, the code provided was wrapped in % % which indicates
SERVER side execution.
--8---
Feel the need for a little defence on my part ;)
There's no point in trying to execute server side code in the faint hope
that it will open your local file. I've
-8-
use Net::Telnet;
$telnet = new Net::Telnet (Timeout = 20, Prompt = '/[%#\]] *$/');
-8-
In the previous code I am accessing a network switch remotely, implement
a command on it ipmac for several time to get all output and send it
to a txt file.
---8--
I was able to resolve my issues with Net::Telnet not working, thank you to
everyone who replied to my post. Now I have something different. Below is
a script that I wrote, it telnets to a Cisco router, goes into enable mode,
and is supposed to print the output of a show ip
8--
@listing =(
[qw(C:\ Total drive size = 2253693952)],
[qw( Total free space = 914102784)],
[qw(D:\ Total drive size = 18202509312)],
[qw( Total free space = 3483238400 )]);
@sizes = map{@$_[$#$_]}@listing;
map {printf %14s, commify(sprintf %.2f, eval{(($_ /
You'll forgive me, I graduated in Triple E, so I'm
not sure of what I mean, but I do know what I need.
Anyway, we used to have this Pascal program that would take a supplied
string, and when compiled the output would be used to pump in to
a piece of hardware.
But this Pascal program can no
---8--
So, my question is to any Telnet server expert out there:
What are the differences in the telnet servers on Win2K and NTRK?
How can I tweak Net::Telnet to work with the Win2K telnet server?
---8--
John,
I'm no expert, but
--8--
When a TELNET server first accepts a connection, it must use the ASCII
control characters carriage-return and line-feed to start a new line (see
RFC854). A server like the Microsoft Telnet Server that doesn't do this,
isn't a TELNET server. These
Just thought I'd share this (which I robbed from clpmisc)
A: Top posting
Q: What is the most irritating thing on Usenet?
- Gordon on apihna
___
8---
I am looking to search and replace a pattern within a file(not on command
line). That is, I have a file name within the Perl script and I need to
search for a pattern and replace the same.
Eg. search for the pattern TOTAL and
---8
whoops, there i go again. mis-read the question. time for me to go home
now.
---8
There there, dont feel bad. I know what the problem is - its the weekend
just
-8-
-
## long-time operations here:
$ftp = Net::FTP-new($site,
Timeout = 60,
Passive = 1,
Debug = 3)
or die Can't connect: $@\n;
Heres a weird one you guys:-
I take a HTML file, I strip the HTML tags
with the substitution s/.*?//g; (its a simple
HTML file so all of the tags get removed, but
file size runs up to 14MB).
I then print the file to a text document using
perl program.pl file.txt.
I make another program where
Lets not point fingers here, but this group is starting to become like
comp.lang.perl.misc
I subscribed to this list to avoid that type of . . . [insert disparaging
term here] . . .
We have all sort of people inside this list, from many country, some of our
grammer are
worst then others, but
Glen,
I had this problem, what I did was to put the image files in a share drive
that everybody has access to.
HTH
Just in
-Original Message-
From: Moulder, Glen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 4:07 AM
To: perl-win32-users
Subject: OT Q: Internet Information
The question is: How do I keep it all on the same line? How do
I just print the percentage number without having to issue a carriage return?
If any of you can help, I'd really appreciate it. Thanks.
You need to use \b instead on
\n
You can do something like
this:-
my $i
Hi,
Im using Perl and OLE to create a graph.
I've used Perl and OLE before, but its the first time I'm seeing this -
OLE exception from Microsoft Excel:
Unable to get the Points property of the Series class
Win32::OLE(0.1401) error 0x800a03ec
in METHOD/PROPERTYGET Points at
Smita,
The addition of ^M occurs when you send a text file over on
a binary transfer when using an FTP routine.
Why don't you set the transfer as ASCII? Thenyou dont
have to bother witha substitution/replacement for ^M in
Perl.
Cheers
-Original Message-From: smi pawar
All,
I'm connecting to
a ORACLE DB by use of an ASP written in PerlScript.
I get the
following error when a column row in the SQL table is null (well I'm assuming
its null because nothing is there).
OLE exception
from "Response object": 007~ASP 0106~Type Mismatch~An unhandled data type
All,
I know there are modules like Date::Calc, that do date manipulation.
But all said and done, I still like VB's DateAdd(interval, number, date) and
DateDiff(interval, date1, date2 [,firstdayofweek[, firstweekofyear]])
Is there any way to import these functions in to Perl?
All,
I have a program I converted from VB into Perl.
Amongst other things it connects to a DB (which
is VAX based), and pulls out values.
When printing these values with the VB program,
it comes out fine.
When printing a so called date with the Perl version,
I get the date as:-
Hi all,
I have a Perl program that runs perfectly on the command prompt.
When I put the same code (after a bit of modification), into an ASP it hangs
when trying to open a DB.
Here it is in PerlScript:-
%@ Language=PerlScript %
HTML
BODY %
use ASP qw(:strict);
use strict;
use warnings 'all';
62 matches
Mail list logo