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
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
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
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
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"
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
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
erlSE + 0x518F
PerlSE + 0x24F4
My PerlScript uses:
use DBI;
use Data::Dumper;
use Win32::ASP;
use Mail::Sender;
use LWP::UserAgent;
Regards
Clinton
It works now.
Thanks for the help
Regards
Clinton
y medication needs a boost!
Assistance appreciated
Regards
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:
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
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
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]
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
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]
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
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
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
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
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
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
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] = [&
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: <[
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
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
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_
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:
>
>
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
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
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
/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
/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
/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
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
35 matches
Mail list logo