Hi folks,
I am working on Win32, and I've made myself a portable system with a web
server ( Xerver
with Java ), an Active Perl 5.10, and my Perl Lib group, and my CGI
scripts.
Yet my ( so called ) portable Perl runs fine, and what I do in the setup
process is just to extract
the files from a zip
Hi,
I've got this error, anything I can do ?
"Can't locate auto/DBI/data_source.al in @INC "
Code :
use DBI;
my @dataSource = DBI -> data_source ( "mysql" ) ;
and if I change the as this :
use DBI;
my $dbh = DBI -> connect ( "dbi:mysql", $adm, $pass ) ;
I got this error :
Ah! Yes!! Thank you very much!!
Problem fixed now =)
2008/7/22 Rob Dixon <[EMAIL PROTECTED]>:
>
> Panda-X wrote:
> >
> > I've got this error, anything I can do ?
> >
> > "Can't locate auto/DBI/data_source.al in @INC "
> &
Hello,
I am going to study how to working on daemon / socket, and I am working on a
Win32 environment.
As beginning, I only want to run a daemon listening on a port, and when I
send http request to the port, the daemon will return me a '1'. And that's
it.
Any simplest sample code for this? I've
unctionality regarding http @
> cpan.
>
> Detailed tutorials how to build a daemon process are in the internet. (At
> least 5-10 very detailed, very good.)
>
> Else: Buy a copy of "Networkprogramming with Perl" written by my favorte
> Perl-Guru L.Stein. This book is gr
Hello world,
I am trying to develop a program which will use PerlTray with Perl/Tk,
however, I found that I can't "use PerlTray" at all, unless I compile it to
run.
This make me very hard to debug.
The error mesg complain from Perl is simply unable to locate PerlTray.pm,
and after I do a file sea
I can do this ?
Thank you very much for any clues.
Regards,
Panda-X
Hi Owen,
2008/12/15 Chas. Owens
> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote:
> > Hello,
> >
> > I have a hash tree, which sub- and sub-sub-sub ( and whatever )
> > items inside are all hashes.
> >
> > and the next step I dealing with this hash tree is
2008/12/17 Chas. Owens
> On Tue, Dec 16, 2008 at 10:30, Panda-X wrote:
> > Hi Owen,
> >
> > 2008/12/15 Chas. Owens
> >>
> >> On Mon, Dec 15, 2008 at 04:18, Panda-X wrote:
> >> > Hello,
> >> >
> >> > I have a hash tr
Hi List,
My script is running on WinXP, Dos shell, which is a server program.
It works fine, unless it will pops-up a "Out of Memory!" and stop running
per each few days!
Could someone tell me this error message is coming from Perl ? or from the
Dos shell ?
Thanks!
ex
2010/10/13 Rob Coops
>
>
> On Wed, Oct 13, 2010 at 8:42 AM, Panda-X wrote:
>
>> Hi List,
>>
>> My script is running on WinXP, Dos shell, which is a server program.
>>
>> It works fine, unless it will pops-up a "Out of Memory!" and stop runni
come raw text in the content of the email.
3 questions :
1. Is that Mail::Sender able to fit my task ?
2. should I consider to modify the .eml file is \r\n for each line ?
3. Any module is exactly design for this ?
Any clues is highly appreciate =)
Thank you very much !
Panda-X
Hi Jenda...
Are you the author of Mail::Sender ?? I like it very much, that's very
handy, as well as Config::IniHash.
Thanks for give me a reply, and I hope my problem can be fixed in the
Mail::Sender way.
2007/10/11, Jenda Krynicky <[EMAIL PROTECTED]>:
>
> From: Panda-X
ail
> and MIME formatting.
I don't modify the data, my only task is somewhat to put back the .eml
( mail content ) to the original recipient. Anymore clues ?
Thank you very much =)
Panda-X
Panda-X wrote:
> > Hi list,
> >
> > quite new to be here. I just wondering if
e I think there's a "\n" or "\r\n" tailing in each elements in @dir
and you'll
need to cut it off.
However, if you are on Win, `dir` will gather another whole story list.
you can try to :
print $line ; to see what you have got from `dir`
One thing more, you do not want to compare if there's same file by regex,
you 'll need
if ( $file eq $line ) { }
Regards =)
Panda-X
py the source as
content
between DATA and . ?
Thank you very much,
Panda-X
Hello again Jenda and Matthew,
2007/10/11, Jenda Krynicky <[EMAIL PROTECTED]>:
>
> From: Panda-X <[EMAIL PROTECTED]>
> > Hi Jenda...
> >
> > Are you the author of Mail::Sender ?? I like it very much, that's very
> > handy, as well as Config::IniHas
ject or somewhere else
> convenient (possibly in the From header as the descriptive name and not
> the address). I'm guessing the SMTP server isn't actually "localhost"?
Ha ! It is localhost, I ran a mail server on my own computer for testing
purpose. =)
Again, thank you very much for all the hint and help!!
Panda-X
ied to use utf8, and I can print the file name in right "string",
but when I try to open the file and read. It happens "No such file or
directory".
Any clue to deal with this ? Thanks in advise.
Panda-X
, $x or $mw -> Label ( -text=> "$! ---> $x " ) -> pack();
$mw -> MainLoop;
So is there any clues to open file in such case ??
Thank you very much,
Panda-X
2007/10/18, Tom Phoenix <[EMAIL PROTECTED]>:
>
> On 10/17/07, Panda-X <[EMAIL PROTECTED]> wrote:
&
2007/10/23, Tom Phoenix <[EMAIL PROTECTED]>:
>
> On 10/23/07, Panda-X <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply. But seems I have no luck with that !
>
> Did you try readdir() or glob(), as I suggested? I can't see them in your
> code.
>
any specific reason for that ?
Thanks,
Panda-X
2007/11/8, Jeff Pang <[EMAIL PROTECTED]>:
>
>
> --- Panda-X <[EMAIL PROTECTED]> wrote:
>
> > I have a script like this :
> >
> > sub This { print @_ }
> >
> > This ( -x => 100 ) ; # prints -x100
> > This ( x => 100 ) ; # prints x10
2007/11/7, AndrewMcHorney <[EMAIL PROTECTED]>:
>
> Hello
>
> Here is the contents of the string I want to create:
>
> "dir c: \ /S" so I can get a complete list of all the files in a disk
> partition. How can I create this string?
>
> Andrew
>
Do you mean C:\ or C: \ ? I see a space here.
Since yo
Hi all,
Below is my code. With this code, 12345 will show at once
after 5 seconds I click the button.
But what I want is to insert() each number per second.
Is that something I can do like $| = 1 in such case ?
At least, could anybody tell this is the behavior of insert () ?
or it's the behavior
2007/11/19, Tom Phoenix <[EMAIL PROTECTED]>:
>
> On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote:
>
> > But what I want is to insert() each number per second.
>
> > sub RollText{
> > for ( 1..5 ) {
> > $_[0] ->{mw}{box} -> insert (
2007/11/19, zentara <[EMAIL PROTECTED]>:
>
> On Mon, 19 Nov 2007 00:14:29 +0800, [EMAIL PROTECTED] (Panda-X)
> wrote:
>
> >Hi all,
> >
> >Below is my code. With this code, 12345 will show at once
> >after 5 seconds I click the button.
> >But what I w
package OverridePrint;
use strict;
# WHAT CAN I DO HERE ???
1;
# Main Program
print "Goodbye World" ; # I got "GBK : Goodbye World"
$mode = "BIG5" ;
print "Hello World" ; # I got "BIG5 : Hello World"
I don't want to write another sub like Print ( $case, $mesg ) , but directly
override
Sorry... the email is unfinished, the reason why I need to do this is
because
I don't want to pollute the existed codes / context ... the original print
statements would
like to retain, but I can still do the translations by adding :
use OverridePrint;
in a common module that all existed scripts ar
29 matches
Mail list logo