Lorenzo Caggioni wrote:
The program I written takes 25 sec for 10.000 line... too much
How quickly do you need to it if 25 seconds is too long?
--
Best Regards,
Pierre Smolarek
Unify Media Ltd
tel. 1-403-681-8054
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Hi,
As some of you know... developing TK can be time consuming. Does anyone know, even in
its simplest form, of a perl TK IDE tool? Idealy on the windows platform. Perl
Builder doesn't really have a VC++ style IDE where you can create yoru window look and
feel.
Regards,
Pierre Smo
not strictly true, you can use activestates perl2exe or whatever its called
now to embed the interpreter into the script and make it an exe... file size
is at least 300 - 400k but it will do what you ask :)
remember, this is NOT machine compiled perl, its just fusing the two into
one.
- Ori
$ENV{OS}
will get you the os on some platforms,. run this simple script on your
systems and check it out..
foreach (keys(%ENV)){
print "\$ENV{$_} $ENV{$_} \n";
}
pierre
- Original Message -
From: "Barry Carroll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 200
define elegant :)
my @array1 = ('foo','','bar');
my (@array2);
foreach my $key (@array1) {
if ($key ne "") {
push(@array2, $key);
}
}
undef(@array1)'
@array1 = @array2;
undef(@array2)'
# @array1 is now cleaned
thats A way sure you could code it in a cleaner way... you want me to?
hu hu?
god i really should check my spelling.. too much off a rushed email.. my
appologise...
- Original Message -
From: "Pierre Smolarek" <[EMAIL PROTECTED]>
To: "Luca Veraldi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 20
for unix try perlcc that comes with perl.. still very experimantal, for
windows you can buy perl2exe or get the active state pack that has a perl
"compiler".
be wared... ill it does is include the parser within the script and compile
it. Your file size will be at least 500k+. perlcc is experiment
http://www.indigostar.com/sendmail.htm
- Original Message -
From: "Customer Service" <[EMAIL PROTECTED]>
To: "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 1:22 PM
Subject: FW: Validation question
>
> Thanks a bunch for everyone's input; I didn't have to wait lon
It is possible to install sendmail on windows, you could consider that.
Other then that, i have no major experience with smtp on win 9x :) use
windows 2000? There is an smtp part of it.
Pierre
- Original Message -
From: "Customer Service" <[EMAIL PROTECTED]>
To: "Perl Beginners" <[EMAIL
ideally you wouldn't
its ok if the attachment is ~ 10k though
Pierre
- Original Message -
From: "Kipp, James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 3:43 PM
Subject: Policy on file attachments
> Just wondering what the policy on sending file attachment
what os ?
windows ?
- Original Message -
From: "justin todd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 8:46 AM
Subject: A Drive
> A bit off the topic but does anyone know how to or even if it is possible
to
> auto run the A drive (Stiffy discs).
>
> TIA
never new that :)
Stupid me for not trying it
thanks!
Pierre
- Original Message -
From: "Jon Farmer" <[EMAIL PROTECTED]>
To: "'Pierre Smolarek'" <[EMAIL PROTECTED]>; "Kipp, James"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]&
Kevin Meltzer" <[EMAIL PROTECTED]>
To: "Pierre Smolarek" <[EMAIL PROTECTED]>
Cc: "Kipp, James" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 2:55 PM
Subject: Re: Is there an alternative to CGI ???
> I'd like to clarif
account for idle servers)
is the fast parsed, embedded language with persistant SQL on the planet to
date). EDITOR NOTE: Subsitute manson for Apache::ASP if your a manson fan,
the fact is its perl baby, perl!! :)
Pierre
- Original Message -
From: "Kipp, James" <[EMAIL PRO
/me introduces you to mod_perl and Apache::ASP
- Original Message -
From: "Kipp, James" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 2:03 PM
Subject: RE: Is there an alternative to CGI ???
> Well there is ASP and PHP and cold fusion.
> PHP is becoming qui
Guys, we all know what he was trying to say, lets not pick on him for how he
phrased it, after all, this is a beginners mailing list!!!
We have defined what CGI is to perl time and time again. Now lets give him a
straight answer without all the attitude.
Is there an alternative to CGI, in a word
Apache::ASP might interest you, however, your'll still have your memory
problem as Mod_Perl stores within memory the servlet. Mod_perl is infamous
for using large amounts of ram, but hey, thats a GOOD thing in my book.
Better RAM then CPU/HDD
Machine code is still faster and less resource intensi
use Getopt::Std;
?
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Perl Discuss" <[EMAIL PROTECTED]>
Sent: Wednesday, July 04, 2001 3:54 PM
Subject: using getopt specifying ARGV values per flag
> my script is as follows:
>
> #!/usr/bin/perl -w
>
> use strict;
> my $domain;
> my $pa
undefined reference to `boot_DynaLoader'
Is there a fix to the above error.. i thought i read somewhere that there was
perlcc used to work a dream, then i upgraded to 5.6.1 and it has never worked since
Pierre
Is it possibly, and if so how, to change the cpu priority of a perl script or its
forked children?
Regards,
Pierre
err.. make that "sleep better"
kinda got side tracked with work :}
- Original Message -----
From: "Pierre Smolarek" <[EMAIL PROTECTED]>
To: "John Edwards" <[EMAIL PROTECTED]>; "'Will Crain'"
<[EMAIL PROTECTED]>; <[EMAI
I stand by my reply to this post. Sure, unpack is quicker. But if you use
regex, i always prefer to use my own defined regex's
my $dateis = "2Jul2001";
my ($date,$month,$year) = $dateis =~ /([0-9]+)([A-Za-z]+)([0-9]+)/;
It makes me sleeper at night
- Original Message -
From: "John Edwa
my $dateis = "2Jul2001";
my ($date,$month,$year) = $dateis =~ /([0-9]+)([A-Za-z]+)([0-9]+)/;
print "$date - $month - $year \n";
:)
with regards,
Pierre
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 12:24 PM
Subject: A Split Questio
Does anyone know if there is either a c app that will take an image and ocr
it ? (Character recognition)
That would be cool as you could develop some nice apps with that in perl.
Pierre
($pid == 0) { #I am a child
> check_machine($machine);
> } elsif (not $pid) {
> #if parent then $pid = process id, if error then
> #$pid = undef
> error();
> }
> }
>
> On 28 Jun 2001 17:03:39 +0100, Pierre Smolarek wrote:
> > The one thing in perl that gets my head
()) {
> $pid = fork;
> if ($pid == 0) { #I am a child
> check_machine($machine);
> } elsif (not $pid) {
> #if parent then $pid = process id, if error then
> #$pid = undef
> error();
> }
> }
>
> On 28 Jun 2001 17:03:39 +0100, Pierre Smolarek wrote:
> > The one thi
The one thing in perl that gets my head all confused is fork.
Can someone point me in the right direction (be it book, website, or kind
enough to offer code).
I need to make a script that has to check 16000 servers in around 6 minutes.
My rough maths works out that 44 checks a second are needed.
hahahahaha
# This one has already been said, but hey.. thought i would make a bigger
mess of it
my ($newvar);
my @new = ($var1,$cat,$var2,$cat,$var3);
foreach (@new){
$newvar .= $_;
}
#or
# once again, already said, just making it obvious
my @new = ($var1,$var2,$var3);
$newvar =
I learnt with Sams teach yourself perl in 21 days did teh trick here...
from that i graped the basics and then got reference books like Programming
perl, perl cookbook by oreilly
I have an html version of Sams, which i can send to you by request,
Pierre
- Original Message -
From: "B
does this all mean that c++ is ACTUALLY D ?
hu. food for thought.
Pierre
- Original Message -
From: "Kevin Meltzer" <[EMAIL PROTECTED]>
To: "Paul Johnson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Nick Transier" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesda
> On Wed, Jun 27, 2001 at 02:07:22PM +0100, Pierre Smolarek wrote:
> > $newvar = $var1."-".$var2."-".$var3;
>
> or $newvar = "$var1-$var2-$var3";
or
$concat = '-';
$newvar .= $var1;
$newvar .= $concat;
$newvar .= $var2;
$newvar .= $conca
$newvar = $var1."-".$var2."-".$var3;
- Original Message -
From: "John Edwards" <[EMAIL PROTECTED]>
To: "'Diego RiaƱo'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 2:01 PM
Subject: RE: Joining variables
> This wouldn't be homework by any chance???
>
> -Or
32 matches
Mail list logo