Hello,
(B
(BI like to make a Web page (in HTML) to mirror
(BMS Exchange public folders.
(B
(Bplease let me know where to begin to access
(Bpublic folders from Perl.
(B
(BRegards,
(BHirosi Taguti
(B[EMAIL PROTECTED]
(B___
(BPerl-Win32-Users ma
On Tue, 02 Dec 2003 17:25:24 -0800
"$Bill Luebkert" <[EMAIL PROTECTED]> wrote:
> > print "Checking message $msgs[$i]\n";
>
> print "Checking message $msglist[$i]\n";
D'oh! That was it. I was sorting the array correctly, but looking at
the wrong array.
Thanks for spotting this!
-pd
--
On Tue, 02 Dec 2003 19:13:01 -0800, Jeremy A <[EMAIL PROTECTED]> wrote:
>Hi all,
Hi there,
>is there any way to test if any given program is a classic MS-Dos
>,Win32-Console or (non console)Windows GUI based application, using a perl
>script?
Yes. Just copy the corresponding code from \perl\
I believe you can look at the first few bytes of an executable and determine this
information.
Perhaps this page will be of use to you:
http://www.codeguru.com/system/AppType.shtml
HTH :)
-Original Message-
From: Jeremy A [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 8:
Hi all,
is there any way to test if any given program is a classic MS-Dos
,Win32-Console or (non console)Windows GUI based application, using a perl
script?
Thanks in advance for any help and input.
Regards,
Jeremy A.
___
Perl-Win32-Users mailing l
Try the following:
foreach $name (@names1)
{
until (length($name)>5) {$name="0$name";}
push(@names2,$name);
}
undef @names1; #not necessary, but I like to do it, anyway.
@names1=sort @names2;
Yes, it's dirty. I'm sure a more skilled perler can provide a b
one way:
sort { $a +0 <=> $b + 0 } @msgs
forces them to be treated as numbers, not strings. Hmm:
@msglist = sort { $a <=> $b } @msgs;
$found = $msglist[0];
for ($i = 0; $i < scalar(@msglist); ++$i) {
print "Checking message $msgs[$i]\n";
last if ($msglist[$i] == $message);
}
$found = $
Pad the front of the numbers with 0's
>From: Peter Davis <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Sorting numbers?
>Date: Tue, 2 Dec 2003 19:53:38 -0500
>
>
>I'm writing a script which will get the names of files in a directory
>and sort them. It's an MH mail directory, so the n
Peter Davis wrote:
> I'm writing a script which will get the names of files in a directory
> and sort them. It's an MH mail directory, so the names are all numbers,
> like 3 or 147 or 2935. Given a specific filename (number), the script
> should find the preceding one in the directory.
>
> The
I'm writing a script which will get the names of files in a directory
and sort them. It's an MH mail directory, so the names are all numbers,
like 3 or 147 or 2935. Given a specific filename (number), the script
should find the preceding one in the directory.
The problem is that no matter how I
10 matches
Mail list logo