Hi,
just a little search at search.cpan.org helps
http://cpan.uwinnipeg.ca/module/Proc::Background::Win32
Best regards
Manfred Beilfuss
Hi,
Thanks for your information.
Can I have sample code and where to get the ppd to install the Proc::background perl
modules
If you know, Kindly tell me.
regards
Srinivas
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Roger Keane
Sent: Tuesday, November
I have a perl program about update file from pc to mysql,but I want to limit filesize,how to obtain filesize and file type?Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To uns
Ganesh Babu Nallamothu, Integra-India wrote:
> Hi,
>
> Your Find patter is wrong.
> Use the following Pattern:
>
> s/([\t]\d{2}[:]\d{2}[\s])/\1/;
\t, \s and : do not need to be in a character class and \1 is deprecated for $1.
This should be equivalent:
s/(\t\d{2}:\d{2}\s)/$1/;
You s
Hi,
Your Find patter is wrong.
Use the following Pattern:
s/([\t]\d{2}[:]\d{2}[\s])/\1/;
Regards,
Gopal.R
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Malcolm Mill
Sent: Wednesday, November 03, 2004 2:41 AM
To: [EMAIL PROTECTED]
Subject: regex help
Ne
if($seconds/60 >=1){
$mintes=int($seconds/60);
$seconds=$seconds-$minutes*60;
} else {
$minutes = 0;
}
Do the same thing for 3600 seconds and you'll have the same for hours.
Do the same for 86400 and you'll have the same for days...
Etc.
> -Original Message-
>
Title: RE: regex help
Assuming your dates are always in the same format, this would work:
print "$1\n" while ($_ =~ /(\d{1,2}\:\d{2} [ap]m)/gi);
-Pete
> -Original Message-
> From: Malcolm Mill [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 02, 2004 4:11 PM
> To: [EMAIL PR
[EMAIL PROTECTED] wrote:
Does anyone have a simple routine or a way that I can
format my seconds. Say I have:
$seconds = '3600';
I want the output to say "1 hour"
$seconds = '5567';
I want the output to say "1 hour 54 minutes and 64 seconds"
Something like that that will break down the amount of
da
Newbie here having trouble with regex.
I'm trying to parse an html file saved as text to find all instances of time.
The parsed file is called myFindTime2.txt and contains text like
=
11:30 am
I've controlled Hylafax (www.hylafax.org) for years via Perl, long before
the CPAN module (http://search.cpan.org/~arak/Fax-Hylafax-Client-1.01/)
became available. It's a great product, but it's not for Windows.
Interfax (www.interfax.net) offers faxing as a Web Service. They have sample
Perl code
for $seconds(3598 .. 3661) {
$_=gmtime $seconds;/(\d\d):(\d\d):(\d\d)/;
0+$1 && printf "%d hour ",$1;
0+$2 && printf "%d minutes",$2;
0+$3 && (($1 || $2) && print (" and "),printf "%d seconds",$3);print "\n"
}
give me:
-- Perl --
59 minutes and 58 seconds
59 minutes and 59 s
Thanks for that Charles -
> foreach my $bit ( values %bits ) {
>if ( ref $bit eq 'ARRAY' ) {
yep, that helps a lot. I didn't know ref existed, very useful. I am still a bit
surprised there
isn't a way that perl can just infer what to do from context like it usually
does. Still, this
opens u
Does anyone have a simple routine or a way that I can
format my seconds. Say I have:
$seconds = '3600';
I want the output to say "1 hour"
$seconds = '5567';
I want the output to say "1 hour 54 minutes and 64 seconds"
Something like that that will break down the amount of
days, hours, minutes, an
Anyone know of a faxing product built on Perl?
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Jutu Subramanian, Srinivasan (Cognizant) wrote:
>
> Hi,
> I need to execute a perl application from one perl application.
> I should do with fork and exec. The execution of another one perl application is the
independent
> to the parent process.So, I don't want to use wind32::CreateProcess.
Using
Does anyone know if active state or any other distributions support windows
clustering?
- Chris
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hi Try this one
Make use of \Q\E format.
$subrecdelim = '^';
$mystr = 'cat^dog^pony^rat';
@array = split(/\Q$subrecdelim\E/, $mystr);
foreach (@array) {
print " - $_\n";
}
Cheers.
Regards,
Prasad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
ve
17 matches
Mail list logo