Working with Perl DBI

2012-06-08 Thread Dmitry Korzhevin
. but i don't know why it's not working.. I have following error: perl check2.pl DBI::db=HASH(0x1e40ae0)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at check2.pl line 17. HASH(0x1e40258) Please

Event programming question. AnyEvent::XMPP

2010-07-04 Thread Dmitry Zenin
Hello all! I have a problem with my code. I want to get a string from callback function, but AnyEvent::XMPP::Client uses non-blocked sockets and I can't get a string. There is example from my code: use AnyEvent::XMPP::Client; my $j = AnyEvent->condvar; my $cl = AnyEvent::XMPP::Client->n

Re: Simple RegEx expresion

2006-01-25 Thread Dmitry
Untauglich Dr. GH> Result: GH> Untauglich Dr. GH> Thanks, GH> George. Please, use this example: ---start--- $str = "Linz_Untauglich Dr."; $str =~ s/^.{5}//; print "$str"; ---finish--- Result: text "Untauglich Dr." is printed -- Best regard

Re: converting from CP1250 to ASCII

2005-01-26 Thread Dmitry Nikolayev
I use Unicode::Map8 and have no probs,.. try that module.. With best wishes, Dmitry Nikolayev http://perl.dp.ua "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > Hi beginners@perl.org, > > how can I convert so

Re: search.cpan down :(

2005-01-23 Thread Dmitry Nikolayev
As I heard,.. the probs with network cards in FUNET... Should be working ok soon... With best wishes, Dmitry Nikolayev http://perl.dp.ua "Harsh Busa" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > again i m facing issues with connecting

Re: Extracting and email address

2005-01-21 Thread Dmitry Nikolayev
Of course, you can make the same with your example: my @addresses = Mail::Address->parse('"blah blach" <[EMAIL PROTECTED]>'); print $addresses[0]; The result should be: [EMAIL PROTECTED] With best wishes, Dmitry Nikolayev &qu

Re: Extracting and email address

2005-01-21 Thread Dmitry Nikolayev
Mail::Address is the module you're searching for, I hope.. my @addresses = Mail::Address->parse($head->get('To')); $head is a header object, as you understood.... With best wishes, Dmitry Nikolayev "Andrew Black" <[EMAIL PROTECTED]> ???/ ? ?

Re: GD module not found using PPM

2005-01-21 Thread Dmitry Nikolayev
Hello! The prob with GD and PPM is maybe you're using perl 5.6(the same prob was with DBD::mysql) from Activestate? I used perl 5.8.4 from them and there were no probs... Try to upgrade perl, if I'm right about your perl version. With best wishes, Dmitry Nikolayev "Mark

Re[2]: Access to http:// via e-mail request

2002-05-28 Thread Babichev Dmitry
Hello, Langa. You wrote 28 ìàÿ 2002 ã., 10:08:51: LK> Greetings Babichev, LK> Can I offer you a non-perl solution to this problem, though I know that you LK> might actually want the solution in perl (I would for the fun of it), there LK> is a package called procmail which is very good at doing t

Access to http:// via e-mail request

2002-05-27 Thread Babichev Dmitry
erver (Perl,POP3) - may be else some one? Thank you in advance for any help. -- _/ _/ _/_/_/ _/ Babichev L. Dmitry _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/ Quality Assurance Team _/_/ _/ _/ _/ _/ _/ Minsk, Belarus S Y S T E M S m

Re: Regexp tester

2002-04-11 Thread Babichev Dmitry
Hello, Wagner-David. You wrote 11 àïðåëÿ 2002 ã., 19:00:01: fanx WDvc> If on windows environment, you can try Komodo ( ActiveState IDE ) which has a Regex tester. WDvc> Wags ;) WDvc> -Original Message- WDvc> From: Babichev Dmitry [mailto:[EMAIL PROTECTED]

Regexp tester

2002-04-11 Thread Babichev Dmitry
Hello, beginners. Sorry to trouble you. Is anybody use any free Regexp tester? Like in the OptiPerl - but it's non-free... :( Thank you in advance. Babichev L. Dmitry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

milliseconds

2002-04-09 Thread Babichev Dmitry
Hello, beginners. Sorry to trouble you. How can I get time (time period) in milliseconds? Thank you in advance. -- Babichev L. Dmitry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ActiveState Debugger

2002-04-04 Thread Babichev Dmitry
Hello, beginners. Sorry to trouble you. How i can forbid output of the report on absence licence in the subject? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re[2]: MySQL

2002-03-22 Thread Babichev Dmitry
indicate; faulty query construction can devastate a query's MJA> response time. MJA> -Original Message- MJA> From: Babichev Dmitry [mailto:[EMAIL PROTECTED]] MJA> Sent: Friday, March 22, 2002 6:05 AM MJA> To: [EMAIL PROTECTED] MJA> Subject: MySQL MJA> Hello,

MySQL

2002-03-22 Thread Babichev Dmitry
Hello, beginners. Sorry for offtopic. Could you help me. How i can decrease time demand fetching for a very simple query? (in my case i have trouble because table is very big) Where I can read about this? fanx. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

PERLDB_OPTS

2002-01-18 Thread Babichev Dmitry
itialization script like .profile which is read BS> by your shell when it starts. OK. Where i can find initialization script ? perl -v = ActiveState 5.6.1 os = WinNT4.0+Sp6 path to perl d:\Perl\bin\perl Sincerely yours, Babichev Dmitry. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

PERLDB_OPTS

2002-01-18 Thread Babichev Dmitry
Hello beginners, How i can change environment variables (e.g. PERLDB_OPTS) to any values so they remained general(public) for all instances of perl scripts? $ENV{'PERLDB_OPTS'}="LocalPort"; # working only for currently running script. Sincerely yours, Babich

perldoc

2002-01-14 Thread Babichev Dmitry
Hello beginners, When i use `perldoc -f some_functions` in command line help output don't stopped by page. OS - Win98. i try `perldoc -f some_functions >> text_file.txt` and `perldoc -f some_functions | more` - bad results. Can anybody help me ? Sincerely yours, Babichev Dmitry

DBI error message

2001-09-24 Thread Danilov Dmitry
Hi ALL, I get pretty much all the time this error message when I try to connect to a remote MS SQL Server 2000 database. Anyone knows why this is happening and how to overcome it? Code looks like this #!/usr/bin/perl use DBI; my $dbh = DBI->connect ("dbi:Sybase:mssql", 'test', 'test'); die "Una