upgrading PPM

2002-11-21 Thread Clinton
On Win running 5.6.0 build 623- How do I upgrade my version of PPM 2.12 to 3.01 Help appreciated Regards Clinton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: upgrading PPM

2002-11-22 Thread Clinton
Afraid of breaking something. Clinton http://www.mediamas.com.au/salesmine/default.htm - Original Message - From: "Timothy Johnson" <[EMAIL PROTECTED]> To: "'Clinton '" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, November 22, 20

Cutting Stock Problem

2002-11-27 Thread Clinton
Hi Would there be any resources in the Perl World dealing with Cutting Stock Problems? Thanks Regards Clinton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Upgrade to 5.8 breaks IIS?

2003-12-02 Thread Clinton
erlSE + 0x518F PerlSE + 0x24F4 My PerlScript uses: use DBI; use Data::Dumper; use Win32::ASP; use Mail::Sender; use LWP::UserAgent; Regards Clinton

parsing uploaded csv file from HTTP

2003-02-25 Thread Clinton
Simpson Unfortunately if the CSV file has punctuation (Wilfred De'Silva) everything falls in a heap. How can I pull out the data without relying on $2 ([\w+\,\w+\s\w+\r\n]+) which seems to be the bit that grabs the CSV values Running ASP on WinNT box with PerlScript Help appreciated C

Re: parsing uploaded csv file from HTTP

2003-02-27 Thread Clinton
Thanks Timothy I've added #to remove the trailing end $data2=~s/(^\s+)//g; #pushed it into an array my @records = split(/(\n)/,$data2); and now trying to get Text::CSV_XS to work, which should handle extra commas. Regards Clinton - Original Message - From: "Timothy Johnso

Installing Log::Agent, nmake test errors

2003-06-16 Thread Clinton
test there is a slew of errors(screen dump below) which I don't know how to interpret. Need some advice as to where I should go from here. Thanks & Regards Clinton Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. T:

looping script

2003-07-02 Thread Clinton
y medication needs a boost! Assistance appreciated Regards Clinton

Thanks George, Rob Re: looping script

2003-07-03 Thread Clinton
It works now. Thanks for the help Regards Clinton

Waking up NT

2001-06-09 Thread Clinton
Hi First I apologise if this is the wrong list. How would I wake up Win NT to run a perl program at a predefined interval? Some pointers would be much appreciated. Regards CCJ

Format Reports

2001-06-22 Thread Clinton
Hi Is there a module out there that will help me format data coming from an Access Database. Win32::OLE looks a bit daunting though I'm sure it will allow the typographic variety I'm looking for. Regards Clinton

s/^W+//;

2001-08-15 Thread Clinton
Hi I'm reading data from MSAccess, joining 2 fetched values with a comma and writing to another table. The data seems to be padded. My resultant column shows some space between the two values eg valuefromFirstcolumn, valuefromSecondcolumn I have tried applying a regex $valuefromFi

Re: s/^W+//;

2001-08-15 Thread Clinton
Thank you Michael. I missed the "\".Works fine now. - Original Message - From: "Michael Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 9:43 AM Subject: Re: s/^W+//; > On 8/15/01 4:28 PM, Clinton wrote: > >

Date_to_Text Problem

2001-08-30 Thread Clinton
I have separated Year, Month and Day so I can feed into the Date_to_Text function from Calc. $firstdate = $dates[1]; $firstdate =~m/(\d*)-0?(\d*)-0?(\d*)/g; my $year = $1; my $month = $2; my $day = $3; If I print $firstdate it correctly prints 2001-07-16 00:00:00 However my $firstcalc = Date_to_

looping in PDF::Create

2001-09-27 Thread Clinton
Hi I'm using PDF::Create and trying to loop thru an array hoping to print each element of the array. I only get the first element with this snippet. Must be doing something silly but I can't see it. my @array = ("50","100","150","200"); for (my $i=0; $i<=$#array; $i++){ $page->stringc($f2, 40, 50

Syntax for grep using regex

2001-10-22 Thread Clinton
Hi I would like to use grep on an array to remove rows from an array. If I hard code a variable it works. The regex works on its own but I can't put the two together. @first25 = grep{$_->[1] eq (/^MA\d+/)} @all; Help appreciated Regards CCJ

Re: Syntax for grep using regex

2001-10-22 Thread Clinton
Thanks Jeff However @first25 = grep{$_->[1] =~ /^MA\d/} @all; results in "Modification of a read only value attempted" - Original Message - From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> To: "Clinton" <[EMAIL PROTECTED]> Cc: <[

Re: Install Storable - ActiveState 5.6 Bld 623

2004-03-09 Thread Clinton
hours. Many Thanks CJ - Original Message - From: "R. Joseph Newton" <[EMAIL PROTECTED]> To: "Clinton James" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 5:17 PM Subject: Re: Install Storable - ActiveState 5.6 Bld 623

VbScript -> PerlScript

2004-03-16 Thread Clinton
Hi Could I have a hint on converting theDoc.FontSize = 96 theDoc.AddText "Hello World" theDoc.Save "c:\hworld.pdf" I'm able to create an object with my $theDoc = $Server->CreateObject("obj.doc"); I tried $theDoc->{FontSize} = 96; $theDoc->{AddText} = "Hello World"; $theDoc->{Save } ="c:\hworld.pdf"

Re: VbScript -> PerlScript

2004-03-16 Thread Clinton
Thanks a million CJ - Original Message - From: "Randy W. Sims" <[EMAIL PROTECTED]> To: "Clinton" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 2:01 PM Subject: Re: VbScript -> PerlScript On 3/16/2004 10:00 PM, Clinton wrot

Regex "([^"]*)

2001-05-06 Thread Clinton
Hi I'm tring to extract some values delimited by quotes I can extract the first set using "([^"]*) but not the second set using "([^"]*),"([^"]*). Could I have a clue please? Regards CJ CODE use strict; my $file = "test.txt"; #extract from file my $stuff="e:/$file"; open STUFF, $stuff or die "Ca

Re: Regex "([^"]*)

2001-05-06 Thread Clinton
/new Array\\\(\\\);\\nkeyComp\[.+\] = "([^"]*)","([^"]*)"/g) { my $sku = $1; my $product = $2; #remove trailing slash, newline and comma $product =~ tr/\\\r\n,//d; print "[$sku] [$name] \n"; } print "END OF FILE"; Next to download Parse::RecDescent & YAPE::Regex 3.00 & YAPE::Regex::Explain 3.01 Thanks again Clinton

Re: Regex "([^"]*)

2001-05-06 Thread Clinton
/new Array\\\(\\\);\\nkeyComp\[.+\] = "([^"]*)","([^"]*)"/g) { my $sku = $1; my $product = $2; #remove trailing slash, newline and comma $product =~ tr/\\\r\n,//d; print "[$sku] [$name] \n"; } print "END OF FILE"; Next to download Parse::RecDescent & YAPE::Regex 3.00 & YAPE::Regex::Explain 3.01 Thanks again Clinton

Re: Regex "([^"]*)

2001-05-06 Thread Clinton
/new Array\\\(\\\);\\nkeyComp\[.+\] = "([^"]*)","([^"]*)"/g) { my $sku = $1; my $product = $2; #remove trailing slash, newline and comma $product =~ tr/\\\r\n,//d; print "[$sku] [$name] \n"; } print "END OF FILE"; Next to download Parse::RecDescent & YAPE::Regex 3.00 & YAPE::Regex::Explain 3.01 Thanks again Clinton

Duplicates in 2D Array

2001-11-08 Thread Clinton
Hi How would I eliminate the duplicate in this 2D array? my @array; $array[0] = ["apples","oranges","plums"]; $array[1] = ["asparagus", "corn","peas"]; $array[2] = ["ham","chicken","lamb"]; $array[3] = [&

Re: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Clinton
G'day from Melbourne, Australia. - Original Message - From: "Etienne Marcotte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 2:08 AM Subject: Off-Topic (200%) - Where are you from? > By reading the messages everyday I can guess most of us are from United

Re: Duplicates in 2D Array

2001-11-09 Thread Clinton
Thanks Andrea & Rex. I think I understand the commify issue but need to work on understanding the syntax. Will come back to the list if I can't hack it. Regards Clinton - Original Message - From: "Rex Arul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; &quo

Picking Duplicates

2001-11-16 Thread Clinton
Hi I've been trying unsuccessfully to create a new array with similar items ie $array[0], $array[3], $array[4] based on "apples" Help appreciated. Regards Clinton My code so far:- use strict; my @array; $array[0] = ["apples","oranges","plums",&qu

Re: Outputing data for Excel / PDF

2001-11-27 Thread Clinton
I use Text-PDF-API-0.701.1 on Win32 and it works well. The original tar file on CPAN has lots of examples HTH Clinton - Original Message - From: "paul beckett (JIC)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 2:01 AM Subject: Ou

Re: Interfacing with Microsoft Access Database in win2k wiht ActiveSt ate Perl 5.6.01. General Help needed.

2001-12-20 Thread Clinton
No expert, this works for me. use strict; use DBI; my $dbHandle = DBI->connect('dbi:ODBC:(mydatabase - setup in control panel->odbc datasources)', '', '') || die $DBI::errstr; my $sql = "SELECT etc1, etc2 FROM tbletc WHERE etc = etc"; my $statementHandle = $dbHandle->prepare($sql); $statementHand

Re: schedule a perl script in Windows

2001-12-26 Thread Clinton
I use scheduler by pointing directly to the .pl file and it works fine for me - Original Message - From: "Lance Prais" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 10:03 AM Subject: schedule a perl script in Windows > I am sure I am not looking at this i

CPAN not working for me

2009-04-11 Thread Clinton James
Hi I'm trying to use CPAN to install modules on a Linux box as but it always fails. I'm logged in as root. Help appreciated. cpan[1]> force install HTML::HTMLDoc CPAN: Storable loaded ok (v2.18) Going to read /root/.cpan/Metadata

Limiting Toke::Parser

2008-06-27 Thread Clinton JAmes
Hi I'm trying to use Toke::Parse and would appreciate some advice. My html is something like this   advise you to                           apples                           oranges                           pears                           Smartshopper is provided by the http://www.fat.g

Re: Limiting Toke::Parser

2008-06-29 Thread Clinton JAmes
Thank you for the response Rob and I apologise for my lack of clarity. Thank you Gunnar the last line in your snippet is what I was looking for. Rgds CCJ __ Not happy with your email address?. Get the one you really want - million

Install Storable - ActiveState 5.6 Bld 623

2004-03-09 Thread Clinton James
gratefully received. Regards Clinton mkdir blib mkdir blib\lib mkdir blib\arch mkdir blib\arch\auto mkdir blib\arch\auto\Storable mkdir blib\lib\auto mkdir blib\lib\auto\Storable cp Storable.pm blib\lib\Storable.pm AutoSplitting blib\lib\Storable.pm (blib\lib\auto/Storable) E:\Perl\Bu