- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 25, 2001 5:36 PM
Subject: Problem with filetest -x _ on Win2k AS Perl build 626
I was running Pod::Find::pod_find to list pod-containing files in
C:/perl/bin
Hi Friends,
do anyone of u have he email programs to sent
attachments(more than one) from perl program usingMail::Sendmail module on
linux platform.
Server is qmail server.
Thanks..
I have done some graduate work in mathematics and you don't quite have
enough information to solve this problem -- even if you can effectively
assume that the world is flat and rectangular in shape. From the way you
describe the problem, I think you are making these assumptions anyway and
in
My two cents: I missed the original post, but I suggest you have TWO
subroutines (preferably within a module).
ll2xy (lat/lon to x/y)
and
xy2ll (x/y to lat/lon)
Of course, each one would accept a string of arguments such as projection,
scale, reference lat/longs, map corners, etc, etc.
When
Can
you run it from your NT box from the command line right now? Can you run
any exe from the unix box on your NT right now? If yes, then that is how
you do it from perl. If you can't then you need to solve that problem
first before figuring out how to do it from a perl script.
Hello,
I need to randomly select 10 characters from a character list and am having
some trouble. One way I thought of approaching this is getting a random
number (1-38) and selecting the character in that location of the string.
There must be better ways of approaching this. Any help would be
At 04:08 PM 2001.06.25 -0700, Roee Rubin wrote:
I need to randomly select 10 characters
Can the characters repeat? If so then it's easy -- just select one from the set
randomly ten times. If they have to be unique -- that is, if you need to have a random
sequence or permutation -- then it's a
This is an embarrassingly simple problem, but I can't seem to solve it in Win 95. All
I want to do is to send the lines meeting a condition to a (user-specified) output
file. This is trivial in Unix, but I can't seem to get DOS/Windows to do it. No
matter what I try, the lines go to the
You could try:
use strict;
my @chars = split //, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890';
my $out;
rand (time); # or some better seed
# allow duplicate characters
for (1..10) {
$out .= $chars[int (rand scalar @chars)];
}
# unique characters
for (1..10) {
my $idx = int (rand scalar
Actually that's probably about as good as any other way. Quoting from the
Perl Cookbook: Making random numbers is hard.
Also from the Perl Cookbook, here is a way to generate a 10 character string
'randomly':
@chars = ( A .. Z, a .. z, 0 .. 9 );
$password = join( , @chars[ map { rand @chars }
My two cents: I missed the original post, but I suggest you have TWO
subroutines (preferably within a module).
ll2xy (lat/lon to x/y)
and
xy2ll (x/y to lat/lon)
Exactly what I did in the end!
Of course, each one would accept a string of arguments such as projection,
scale,
First - thanks for the response.
I have done some graduate work in mathematics and you don't quite have
enough information to solve this problem -- even if you can effectively
assume that the world is flat and rectangular in shape. From the way you
describe the problem, I think you are
1. write access should be explicitly specified
open(CAREWEBOUT, "$CareWebOut");
--
open(CAREWEBOUT, "$CareWebOut");
2. read access should be too, although it will work as is
open(CAREWEBFILE, "$CareWebFile") || die "SORRY, CAN'T FIND $CareWebFile\n";
--
open(CAREWEBFILE, "$CareWebFile") || die
Peter (and others who have sent a fix), thank you very much.
Sam
Peter Guzis [EMAIL PROTECTED] 06/25/01 07:31PM
1. write access should be explicitly specified
open(CAREWEBOUT, $CareWebOut);
--
open(CAREWEBOUT, $CareWebOut);
2. read access should be too, although it will work as is
- Original Message -
From: rotaiv [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 26, 2001 1:48 AM
Subject: Re: Problems reading Excel date format
At 06/25/2001 11:08 AM, Sisyphus wrote:
It's a scalar reference. Assuming this is the value held by $cell, to
dereference
Hi Robert,
I'm having some problems installing Tk.pm on a Windows 2K machine
using Perl 626
ppm installs all the files but they are all zero length.
Any Ideas how to get around this? I've tried downloading the zip file
and doing a local ppm but it still fails.
Hi!
I tried this one and worked just fine in my PC. But when I ru it on the
remote server (my hosting provider server) it does not return anything.
Just
script produced no output . Like it didn't know where GD.pm is located.
My perl version is 5.006 and the remote server version is
17 matches
Mail list logo