OK thanks, I understand now. I was reading 20 50-digit numbers rather than 1
1000-digit numbers. I knew it a fundamental misunderstanding somewhere.
Thank you again,
Derrick
--发件人:Shlomi
Fish日 期:2017年05月16日 16:54:39收件人:抄
送
more elegant since he uses "map", but he gets a different answer. I feel
like I have some basic misunderstanding about how something should work. Or
maybe I am misunderstanding the problem. Thanks in advance for any push in the
right direction. see my solution below.
Derrick
#! /u
Thank
you.--发件人:Shlomi
Fish日 期:2017年05月04日
03:27:03收件人:derrick抄 送:Jim Gibson;
beginners主 题:Re: prime factorsHi Derrick,
On Wed, 03 May 2017 06:58:44 +0800
"derrick" wrote:
> Thank you for your complete ans
Thank you for your complete answer. How much memory is used per array element?
I will work on a shorter algorithm. This one worked on shorter numbers so I
just used it for this.
Derrick
--发件人:Jim
Gibson日 期:2017年05月03日 00:35:53收件
I was writing a program to solve the #3 exercise on project Euler. I needed to
find the prime factors of a given number.
I have solved it already but a couple of the ways I tried to solve the problem
caused a problem.
The below worked for smaller numbers but when I used the 12 digit number given
using X11::Keysyms.
Thanks for any help.
Derrick
--
Derrick Cope
--from my mutt
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
ok, Thank you for that. I was misunderstanding what the -> represented.
It is working now.
Derrick
On Tue, Nov 08, 2016 at 11:29:41AM +, Chas. Owens wrote:
> On Tue, Nov 8, 2016 at 5:38 AM wrote:
>
> > Hi,
> >
> > Yes, I was using a ref with my dumper. When
7;sync_id' => undef,
'project_id' => 183055698,
'due_date_utc' => 'Tue 08 Nov 2016 15:59:59 +',
'is_deleted' => 0,
'indent'
g braces in different
places but so far nothing works.
Thanks for any help
Derrick Cope
$VAR1 = \{
'labels' => [],
'items' => [
{
'is_archived' => 0,
Hi,
Thank you for that detailed reply.
Now that I know to look for post, it is explained well on metacpan.
Thank you again,
Derrick
In-Reply-To:
On Wed, Oct 12, 2016 at 04:49:34PM +, Chas. Owens wrote:
> Looking at the documentation for curl, it says:
>
> -d/--data
> (HTT
$url = 'https://todoist.com/API/v7/sync';
my $token = 'mytoken';
my $ua = new LWP::UserAgent();
my $response = $ua->post($url, token => $token);
I have no idea how to pass my token or resource types to the api.
Thank you for any help
--
Derrick Cope
-
dir_list
);
BTW, am I sending this email to the correct place?
--
Derrick Cope
--from my mutt
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Why did I say CGI? I meant DBI.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
mel book. I love Perl humor )
At 12:25 PM 3/6/02 -0800, you wrote:
> >>>>> "Derrick" == Derrick Wippler <[EMAIL PROTECTED]> writes:
>
>Derrick> Can anyone tell me why " print $rec->[4] " prints
>Derrick> but print "$recs[0]-&g
ensional array I've built sense upgrading to
Perl 5.6.1
Anything change that I don't know about ?
>At 05:11 PM 3/6/02 +0100, you wrote:
>>Derrick Wippler wrote:
>> >
>> > Can anyone tell me why " print $rec->[4] " prints
>> > but print &q
Can anyone tell me why " print $rec->[4] " prints
but print "$recs[0]->[4] does not print a thing ?
I've confimed the data, the first row in the fourth column is an "F"
$rec->[4] prints it, but $recs[0]->[4] does not !!! ARG @#@!#!!!@@!!@!!
PS: I'm using DBI, my DBI object is $db
my
--Original Message-
From: Bill Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 4:07 PM
To: Derrick (Thrawn01)
Subject: Re: New Project, Design Thoughts appreciated
On 9/26/01 3:51 PM, "Derrick (Thrawn01)" <[EMAIL PROTECTED]> wrote:
> I've been the task
I've been the task of designing a remote maintenance system, for several
maybe hundreds ) of computers across a WAN.
It would preferably be a web application so multiple users can operate the
maintnce on several systems simultaneously.
The problem I have is with running commands on the remote sy
rett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 11:03 AM
To: Derrick (Thrawn01)
Cc: Perl Beginners
Subject: Re: printf to convert 200010809 to 2001-08-09
On Mon, 10 Sep 2001, Derrick (Thrawn01) wrote:
> @data[0]->[17] contains "20010809"
>
> I've
Thanks for the help, I think this will work out.
oh. Unusual site you have there.
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 11:03 AM
To: Derrick (Thrawn01)
Cc: Perl Beginners
Subject: Re: printf to convert 200010809 to 2001-08
@data[0]->[17] contains "20010809"
I've been tring to use printf to convert the 200010809 value out as
2001-09-08
$last_open = sprintf "%4d-%2d-%2d",@data[0]->[17];
However this does not work. I get "20010809- 0- 0"
Any sugesstions on how I should make this converstion with out adding alot
of o
I setup an multidimetional array of data. ( I loading data base files into
memory.)
I wan't to sort the records by field 0
But when I sort this referenced array ( multidimetional array ) I get an out
of memory error.
There are 80 or so records and each record has 20 fields each field varies
but n
clear, definitive answer. Can anyone help me with this?
Thanks,
Derrick
**
"Never trust machinery more complicated than a knife and fork." -- Jubal
Harshaw in Stranger in a Strange Land
ot;.$?);
$dbhandle = DBI->connect("dbi:mysql:products\@192.168.1.170:3306", "thrawn",
"rootroot") || &error("\nCouldn't co
nect to DB.\n\n ".$?);
NOTHING WORKS ARG ! any one know what I'm doing wrong. Been working
on this all day.
I'm going to Hunt down some Morphean, BRB.
Derrick,
24 matches
Mail list logo