<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title></title>
 <link>http://community.activestate.com/rss/forums/perl</link>
 <description></description>
 <language>en</language>
<item>
 <title>Errors with DBD::mysql </title>
 <link>http://community.activestate.com/forum-topic/errors-dbd-mysql</link>
 <description>&lt;p&gt;Since upgrading to v. 5.10.0 I get Errors like that:&lt;/p&gt;
&lt;p&gt;install_driver(mysql) failed: Can&#039;t load &#039;C:/Programme/xampp/perl/site/lib/auto/DBD/mysql/mysql.dll&#039; for module DBD::mysql: load_file:Das angegebene Modul wurde nicht gefunden at C:/Programme/xampp/perl/lib/DynaLoader.pm line 202.&lt;br /&gt;
 at (eval 7) line 3&lt;br /&gt;
Compilation failed in require at (eval 7) line 3.&lt;br /&gt;
Perhaps a required shared library or dll isn&#039;t installed where expected&lt;br /&gt;
 at D:/Wissensdatenbank/htdocs/cgi-bin/projekteingangsform.pl line 24&lt;/p&gt;
&lt;p&gt;I checked, that the .dll is in place.&lt;/p&gt;
&lt;p&gt;What do I have to check, else?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/errors-dbd-mysql#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Fri, 25 Jul 2008 12:26:08 +0100</pubDate>
 <dc:creator>mk_olc</dc:creator>
 <guid isPermaLink="false">2614 at http://community.activestate.com</guid>
</item>
<item>
 <title>Difficulty Installing Email-Valid and HTML-Entities Using PPM</title>
 <link>http://community.activestate.com/forum-topic/difficulty-installing-email-valid-and-html-entities-using-ppm</link>
 <description>&lt;p&gt;When attempting to install Email-Vaild and HTML-Entities using the ActivePerl PPM for 5.100.1001, I received this error message:&lt;/p&gt;
&lt;p&gt;ERROR: &quot;Don&#039;t know how to copy C:WINDOWS\TEMP\ppm-8aXPEG/Email-Address-1.88/blib/html/?l???U??&lt;/p&gt;
&lt;p&gt;The operating system is Windows ME...I am a Perl novice and would appreciate any help. &lt;/p&gt;
&lt;p&gt;Thanks in advance for your comments.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/difficulty-installing-email-valid-and-html-entities-using-ppm#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/window-9x-me">Window 9x/Me</category>
 <pubDate>Fri, 25 Jul 2008 01:54:29 +0100</pubDate>
 <dc:creator>steven.arrington</dc:creator>
 <guid isPermaLink="false">2612 at http://community.activestate.com</guid>
</item>
<item>
 <title>Problem with variables in compile perlsvc script</title>
 <link>http://community.activestate.com/forum-topic/problem-variables-compile-perlsvc-script</link>
 <description>&lt;p&gt;I am using the dev kit for the first time to create a windows service.&lt;/p&gt;
&lt;p&gt;The issues I am having are with trying to get the service to run.&lt;/p&gt;
&lt;p&gt;I have created a script along the lines of the PingSvc.pl example as I want something that can be run interactively and as a service.&lt;/p&gt;
&lt;p&gt;I can get it compiled OK and run it interactively (using Komodo) without errors.&lt;/p&gt;
&lt;p&gt;The problem I have is after compiling when trying to start the service.&lt;/p&gt;
&lt;p&gt;At first I had variables with values assigned that did not seem to have values. For instance when I put a message to the event log expecting to see the value in &quot;Logfile path $servicelogfile&quot; I would see &quot;Logfile path &quot; even though $servicelogfile was set. So I started to use a BEGIN block. This enabled me to get further but I now see in the event log:&lt;/p&gt;
&lt;p&gt;Undefined subroutine &amp;amp;PerlSvc::Startup called at /PerlSvc.pm line 95&lt;/p&gt;
&lt;p&gt;I do not have this subroutine anywhere near line 95.&lt;/p&gt;
&lt;p&gt;I think I need some help in the correct way to make variables and subroutines known at the right time. Apologies if this is bordering on general Perl questions.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/problem-variables-compile-perlsvc-script#comments</comments>
 <category domain="http://community.activestate.com/forums/pdk-support-0">PDK Support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Thu, 24 Jul 2008 14:22:39 +0100</pubDate>
 <dc:creator>jmozley</dc:creator>
 <guid isPermaLink="false">2608 at http://community.activestate.com</guid>
</item>
<item>
 <title>Cannot get Net::SSLeay to work</title>
 <link>http://community.activestate.com/forum-topic/cannot-get-net-ssleay-work</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to get Net::Ldaps to work and it needs IO::Socket::SSL which needs Net::SSLeay.  I am using MinGW to compile Net::SSLeay and this worked fine and Net::SSLeay installed ok.  When I try to use it I get:&lt;/p&gt;
&lt;p&gt;Net::SSLeay could not find a random number generator on your system.&lt;/p&gt;
&lt;p&gt;and it fails.&lt;/p&gt;
&lt;p&gt;Any help to get working is most appreciated.&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;
&lt;p&gt;ski&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/cannot-get-net-ssleay-work#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Wed, 23 Jul 2008 20:29:47 +0100</pubDate>
 <dc:creator>ski98033</dc:creator>
 <guid isPermaLink="false">2607 at http://community.activestate.com</guid>
</item>
<item>
 <title>Spreadsheet::WriteExcel in 5.10</title>
 <link>http://community.activestate.com/forum-topic/preadsheet-writeexcel-5-10</link>
 <description>&lt;p&gt;I developed a script a while ago in Perl 5.8 (latest version at the time) which uses the Spreadsheet::WriteExcel module.  I recently received a report from a user that in Perl 5.10 it was not possible to find Spreadsheet::WriteExcel in PPM unless a certain private repository was added (namely &lt;a href=&quot;http://homepage.eircom.net/~jmcnamara/perl&quot; title=&quot;http://homepage.eircom.net/~jmcnamara/perl&quot;&gt;http://homepage.eircom.net/~jmcnamara/perl&lt;/a&gt; ).  The user reported that in the end he was successful in installing the module from this private repository and that my script did work.&lt;/p&gt;
&lt;p&gt;However, I would like to know why this module has apparently been removed from the ActiveState repository for 5.10, since it seems like the module itself does work in 5.10.  Are there any plans to restore it to the repository?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/preadsheet-writeexcel-5-10#comments</comments>
 <category domain="http://community.activestate.com/forums/ppm-0">PPM</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Wed, 23 Jul 2008 15:57:50 +0100</pubDate>
 <dc:creator>paperRam</dc:creator>
 <guid isPermaLink="false">2605 at http://community.activestate.com</guid>
</item>
<item>
 <title>Shouldn&#039;t the installation work?</title>
 <link>http://community.activestate.com/forum-topic/shouldnt-installation-work</link>
 <description>&lt;p&gt;I just downloaded and installed Active Perl 5.8.8 (MSI) for the first time on a Windows 2000 SP4 server.  There were no error messages during the installation, so I assume everything went fine.&lt;/p&gt;
&lt;p&gt;I installed AP to t:\Perl&lt;/p&gt;
&lt;p&gt;My environmental variable PATH statement has this path included: t:\Perl\bin&lt;/p&gt;
&lt;p&gt;The .PL, PLX, etc extensions are listed in the IIS Manager application mappings.&lt;/p&gt;
&lt;p&gt;OK, so I try to see if ActivePerl works, so I open Internet Explorer and navigate to T:\Perl\eg\IEExamples and run index.htm&lt;/p&gt;
&lt;p&gt;None of the examples there work.&lt;/p&gt;
&lt;p&gt;OK, so why can&#039;t the installation handle a plain vanilla installation and get it right the first time, rather than have me beg for help here?&lt;/p&gt;
&lt;p&gt;Help!&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/shouldnt-installation-work#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-2000-pro-server">Windows 2000 Pro / Server</category>
 <pubDate>Wed, 23 Jul 2008 04:05:34 +0100</pubDate>
 <dc:creator>xyz123</dc:creator>
 <guid isPermaLink="false">2600 at http://community.activestate.com</guid>
</item>
<item>
 <title>Running Perl with DBD::mysql on Vista 64 bit</title>
 <link>http://community.activestate.com/forum-topic/running-perl-dbd-mysql-vista-64-bit</link>
 <description>&lt;p&gt;I&#039;ve spent several days trying to get a build of PERL and PPM that could provide me with support for DBD::mysql under 64 bit Vista. I first tried PERL 5.10-x64, the PERL part worked just fine, but under PPM I could not find DBD::mysql anywhere. I then tried PERL 5.8-x64, and under PPM again I could not find DBD::mysql. Finally I installed PERL 5.8 x86, and PPM found the DBD::mysql module just fine. I hate to be running this far off of the latest version, and for my true platform. My questions are:&lt;/p&gt;
&lt;p&gt;1. Is there any support for the MySql module under 64 bit Perl 5.10 or 5.8?&lt;br /&gt;
2. Are there any known issues with running Perl 5.8 x86 under Vista 64 bit?&lt;/p&gt;
&lt;p&gt;Thanks for any information&lt;br /&gt;
FlatBallFlyer&lt;br /&gt;
&amp;gt;&amp;lt;&amp;gt;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/running-perl-dbd-mysql-vista-64-bit#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-x64">Windows x64</category>
 <pubDate>Tue, 22 Jul 2008 19:54:32 +0100</pubDate>
 <dc:creator>FlatBallFlyer</dc:creator>
 <guid isPermaLink="false">2599 at http://community.activestate.com</guid>
</item>
<item>
 <title>redirecting output of a system-call</title>
 <link>http://community.activestate.com/forum-topic/redirecting-output-system-call</link>
 <description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a script which uses system() to execute a SQL*Plus-Script against a Oracle database. This all works fine and I get the output I except in my Command Prompt window, e.g.&lt;br /&gt;
&amp;gt; print.pl&lt;br /&gt;
OUTPUT&lt;/p&gt;
&lt;p&gt;When I however try to redirect the output to a file like this&lt;br /&gt;
&amp;gt;print.pl &amp;gt;out&lt;/p&gt;
&lt;p&gt;it does not work. I see no output in the Command Prompt window, and the file out gets created but it is always empty.&lt;/p&gt;
&lt;p&gt;I tried to set $AUTOFLUSH but it did not help.&lt;br /&gt;
Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Thomas&lt;/p&gt;
&lt;p&gt;Here is the content of the files mentioned:&lt;/p&gt;
&lt;p&gt;print.pl&lt;br /&gt;
--------&lt;br /&gt;
system &quot;sqlplus -s usr/pwd @ print&quot;;&lt;/p&gt;
&lt;p&gt;print.sql:&lt;br /&gt;
----------&lt;br /&gt;
prompt OUTPUT&lt;br /&gt;
quit;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/redirecting-output-system-call#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-2000-pro-server">Windows 2000 Pro / Server</category>
 <pubDate>Tue, 22 Jul 2008 16:41:02 +0100</pubDate>
 <dc:creator>thmauch</dc:creator>
 <guid isPermaLink="false">2597 at http://community.activestate.com</guid>
</item>
<item>
 <title>Package Term::ANSIColor not working</title>
 <link>http://community.activestate.com/forum-topic/package-term-ansicolor-not-working</link>
 <description>&lt;p&gt;When using the Term::ANSIColor package and trying to display text in color in the Windows command shell (cmd.exe), the output is not formatted correctly and gibrish terminal characters are outputted instead of the colored text.&lt;br /&gt;
Example:&lt;/p&gt;
&lt;p&gt;# example.pl&lt;br /&gt;
use Term::ANSIColor;&lt;br /&gt;
print &quot;my text&quot;,color(&#039;bold green&#039;),&quot;my colored text&quot;,&quot;\n&quot;;&lt;/p&gt;
&lt;p&gt;output:&lt;br /&gt;
my text ←[1;32m my colored text&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/package-term-ansicolor-not-working#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Sun, 20 Jul 2008 15:11:39 +0100</pubDate>
 <dc:creator>erang</dc:creator>
 <guid isPermaLink="false">2592 at http://community.activestate.com</guid>
</item>
<item>
 <title>Perl Script unable to open text file</title>
 <link>http://community.activestate.com/forum-topic/perl-script-unable-open-text-file</link>
 <description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am new to Perl with a problem but no solution. I wanted to create a perl script that only opens a text file and search for a particular word. Unfortunately, the script cannot open the text file. It returns the following error message:&lt;/p&gt;
&lt;p&gt;No such file or directory.&lt;/p&gt;
&lt;p&gt;The text file &quot;test.txt&quot; und perl script are in the same folder. I am using Apache Friends.&lt;/p&gt;
&lt;p&gt;Here is the script:&lt;/p&gt;
&lt;pre class=&quot;geshifilter&quot;&gt;#!/usr/bin/perl -w

use strict;

my $file_to_open =	&quot;test.txt&quot;;

open (FILE, &quot;&amp;lt; $file_to_open&quot;)
or die &quot;File cannot open! $!\n&quot;;

my $text;

undef $/; $text = ;

while ($text =~m/African/g) {
	print &quot;The word African is found.\n&quot;;
}
close (FILE);&lt;/pre&gt;&lt;p&gt;
TEXT FILE:&lt;/p&gt;
&lt;p&gt;African african  African Dating - Pride and Ambition&lt;br /&gt;
It is no secret that African culture is known for its pride.&lt;br /&gt;
Most Africans do not have a problem standing up for their beliefs and &lt;/p&gt;
&lt;p&gt;WORD TO FIND:&lt;/p&gt;
&lt;p&gt;African&lt;/p&gt;
&lt;p&gt;Please any idea on how to resolve this problem?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ranky&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/perl-script-unable-open-text-file#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Sun, 20 Jul 2008 10:13:48 +0100</pubDate>
 <dc:creator>ranky</dc:creator>
 <guid isPermaLink="false">2590 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
