<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Perl Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/Tag/1699/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to Perl.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Thu, 05 Nov 2009 06:27:54 -0700</pubDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <item>
      <title>Re: HTML to PDF automatic conversion</title>
      <link>http://www.programmersheaven.com/mb/perl/332828/394808/ReadMessage.aspx#394808</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/fchivu/"&gt;fchivu&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/332828/394808/ReadMessage.aspx#394808"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;You can try the &lt;a href="http://www.winnovative-software.com"&gt;HTML to PDF converter&lt;/a&gt; from &lt;a href="http://www.winnovative-software.com"&gt;http://www.winnovative-software.com&lt;/a&gt; . It's a .NET library but you can easily create a web service to call from your PHP application.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/332828/394808/ReadMessage.aspx#394808</guid>
      <pubDate>Sat, 08 Aug 2009 23:39:44 -0700</pubDate>
    </item>
    <item>
      <title>Using WWW::Mechanize</title>
      <link>http://www.programmersheaven.com/article/102853-Using+WWW::Mechanize/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/higherpass/"&gt;higherpass&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/102853-Using+WWW%3a%3aMechanize/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Learn to use the WWW::Mechanize Perl module to navigate websites and submit webforms with just a few lines of code.  WWW::Mechanize allows you to quickly and easily retrieve webpages, parse documents, and more.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/102853-Using+WWW%3a%3aMechanize/info.aspx</guid>
      <pubDate>Thu, 28 May 2009 19:19:27 -0700</pubDate>
    </item>
    <item>
      <title>Re: regular expressions</title>
      <link>http://www.programmersheaven.com/mb/perl/388859/388950/ReadMessage.aspx#388950</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/tonyn/"&gt;tonyn&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/388859/388950/ReadMessage.aspx#388950"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
thanks for your help.&lt;br /&gt;
&lt;br /&gt;
Tony&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/388859/388950/ReadMessage.aspx#388950</guid>
      <pubDate>Fri, 10 Apr 2009 10:10:51 -0700</pubDate>
    </item>
    <item>
      <title>regular expressions</title>
      <link>http://www.programmersheaven.com/mb/perl/388859/388859/ReadMessage.aspx#388859</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/tonyn/"&gt;tonyn&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/388859/388859/ReadMessage.aspx#388859"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I have a file name which have these lines in the file. I want to compare if the schematic port and layout port are different then I report this file has port name different. Below is my code but it has problem with $1 and $2. How can I get $1 and $2?&lt;br /&gt;
&lt;br /&gt;
thanks,&lt;br /&gt;
Tony&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
while (&amp;lt;INF&amp;gt;) {&lt;br /&gt;
    $port_session = 1  if ( /port\s*Port class\s*Schematic port\s*Layout port/ ) ;&lt;br /&gt;
    if ( /\*\s+\d+\s+(\S+) \ (\S+)$/ &amp;amp;&amp;amp; $port_session ) {&lt;br /&gt;
        $mismatch = 1 if ( $1 !~ $2 );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
close(INF);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      port       Port class    Schematic port          Layout port&lt;br /&gt;
    ----------    ----------    --------------------    --------------------&lt;br /&gt;
    L             1             D                       D&lt;br /&gt;
    L             4             Q                       Q&lt;br /&gt;
    L             6             RST                     x_6&lt;br /&gt;
    L             5             SET                     SET&lt;br /&gt;
    L             2             XCLK                    x_3&lt;br /&gt;
    L             3             XQ                      XQ&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/388859/388859/ReadMessage.aspx#388859</guid>
      <pubDate>Wed, 08 Apr 2009 14:00:48 -0700</pubDate>
    </item>
    <item>
      <title>ChartDirector for Perl 5.0</title>
      <link>http://www.programmersheaven.com/download/28379/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Peter+Kwan/"&gt;Peter Kwan&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/download/28379/download.aspx"&gt;file&lt;/a&gt;.&lt;/p&gt;ChartDirector is a fast and powerful charting component for creating professional and clickable charts. It's unique layering architecture enables you to synthesize the charts you want using standard chart layers. ChartDirector's comprehensive chart styles include pie, donut, bar, line, spline, step line, trend line, curve-fitting, inter-line filling, area, band, scatter, bubble, floating box, box-whisker, waterfall, contour, heat map, surface, vector, finance, gantt, radar, polar, rose, pyramid, cone, funnel, angular and linear meters and guages. ChartDirector charts are interactive with full suite of mouse events, supporting tool tips, clickable chart objects, and &amp;quot;drag to zoom&amp;quot; and &amp;quot;drag to scroll&amp;quot; features. AJAX enabled features allow charts to update without refreshing web pages. Easy to use and with comprehensive documentation. Come with numerous examples. Free trial available.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/28379/download.aspx</guid>
      <pubDate>Wed, 08 Apr 2009 11:22:15 -0700</pubDate>
    </item>
    <item>
      <title>APPLICATION PROCESES</title>
      <link>http://www.programmersheaven.com/mb/perl/388777/388777/ReadMessage.aspx#388777</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/SHADOWING/"&gt;SHADOWING&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/388777/388777/ReadMessage.aspx#388777"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;hello everyone i would if i may ask a question before i start programing i was told and advised to learn perl &lt;br /&gt;
&lt;br /&gt;
and before i do my job is networking by the way,never programed in my hole life and i would like to ask if i may and hope that someone qwould take the time to awnser my question what is the processing of perl generaly used for example &lt;br /&gt;
&lt;br /&gt;
application programs &lt;br /&gt;
&lt;br /&gt;
web script ect what is the general use for perl and what is the main arcehtecture behind its usfullness within the programing world and what is it most used for i would like to thankyou for taking the time in reading may mail yours sincerly shadowdevelopment</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/388777/388777/ReadMessage.aspx#388777</guid>
      <pubDate>Tue, 07 Apr 2009 12:32:41 -0700</pubDate>
    </item>
    <item>
      <title>Re: HTML to PDF automatic conversion</title>
      <link>http://www.programmersheaven.com/mb/perl/332828/388503/ReadMessage.aspx#388503</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/fchivu/"&gt;fchivu&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/332828/388503/ReadMessage.aspx#388503"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;You can try the &lt;a href="http://www.winnovative-software.com"&gt;html to pdf&lt;/a&gt; converter from &lt;a href="http://www.winnovative-software.com."&gt;http://www.winnovative-software.com.&lt;/a&gt; You can build a simple web service with the development library and call that html to pdf web service from any application.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/332828/388503/ReadMessage.aspx#388503</guid>
      <pubDate>Thu, 02 Apr 2009 21:52:51 -0700</pubDate>
    </item>
    <item>
      <title>Question for Jonathan, by the way... long time.</title>
      <link>http://www.programmersheaven.com/mb/perl/386868/386868/ReadMessage.aspx#386868</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Old+Joe+(Home)/"&gt;Old Joe (Home)&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/386868/386868/ReadMessage.aspx#386868"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi Jonathan,&lt;br /&gt;
&lt;br /&gt;
I'm trying to figure out where the date and time stamps are listed&lt;br /&gt;
in a Win32 Application event log.  I've figured out how to parse all the rest of the information from Application event logs, but still haven't found the date and time stamps.  Do you know if they are kept in an associated file?  Let em know if you can help.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Old Joe&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/386868/386868/ReadMessage.aspx#386868</guid>
      <pubDate>Thu, 05 Mar 2009 18:44:00 -0700</pubDate>
    </item>
    <item>
      <title>Re: Call perl program from C</title>
      <link>http://www.programmersheaven.com/mb/ConLunix/382744/385630/ReadMessage.aspx#385630</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/gustavo-serra/"&gt;gustavo-serra&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/ConLunix/382744/385630/ReadMessage.aspx#385630"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/ConLunix/Board.aspx"&gt;C/C++ on Linux/Unix&lt;/a&gt; forum.&lt;/p&gt;Well, this post is rather old. I am returning to Programmers Heaven, so I just saw it.&lt;br /&gt;
&lt;br /&gt;
Ok, my sugesstion is that you could create two pipe files. You would perform this outside from your program. You can see how &lt;a href="http://www.linuxjournal.com/article/2156"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Then, you will start the execution of your Perl script and instruct it to read/write from/to the pipes that you created. In your C program, you will open both pipes too. Then, all the communication between the perl script and C executable will happen through the pipes. You need to start the perl script only once (I don't know how the script or, to tell the truth, how Perl works).&lt;br /&gt;
&lt;br /&gt;
Hope it helps!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ConLunix/382744/385630/ReadMessage.aspx#385630</guid>
      <pubDate>Thu, 12 Feb 2009 04:00:53 -0700</pubDate>
    </item>
    <item>
      <title>Eclipse DLTK IDE for Perl, Python, and PHP scripting</title>
      <link>http://www.programmersheaven.com/article/101805-Eclipse+DLTK+IDE+for+Perl,+Python,+and+PHP+scripting/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Solrac/"&gt;Solrac&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/101805-Eclipse+DLTK+IDE+for+Perl%2c+Python%2c+and+PHP+scripting/info.aspx"&gt;Eclipse DLTK IDE for Perl, Python, and PHP scripting&lt;/a&gt;'.&lt;/p&gt;Eclipse presents a wealth of capabilities for building tools for compiled languages like C and the Java programming language, but provides little support for scripting languages like Perl, Python, and PHP. For these and similar languages, the Eclipse Dynamic Languages Toolkit (DLTK) comes to the rescue. This tutorial Walks you through the process of building a DLTK-based IDE and provides sample code for each step.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/101805-Eclipse+DLTK+IDE+for+Perl%2c+Python%2c+and+PHP+scripting/info.aspx</guid>
      <pubDate>Thu, 05 Feb 2009 10:15:20 -0700</pubDate>
    </item>
    <item>
      <title>simple game using perl</title>
      <link>http://www.programmersheaven.com/mb/game/385114/385114/ReadMessage.aspx#385114</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jurrielyn/"&gt;jurrielyn&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/game/385114/385114/ReadMessage.aspx#385114"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/game/Board.aspx"&gt;Game programming&lt;/a&gt; forum.&lt;/p&gt;kindly help me in developing a game using perl....thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/game/385114/385114/ReadMessage.aspx#385114</guid>
      <pubDate>Sun, 01 Feb 2009 19:28:20 -0700</pubDate>
    </item>
    <item>
      <title>games using perl</title>
      <link>http://www.programmersheaven.com/mb/perl/385113/385113/ReadMessage.aspx#385113</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jurrielyn/"&gt;jurrielyn&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/385113/385113/ReadMessage.aspx#385113"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;I'm having a hard time to develop a simple game using pearl. Kindly give me a hand....Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/385113/385113/ReadMessage.aspx#385113</guid>
      <pubDate>Sun, 01 Feb 2009 19:08:44 -0700</pubDate>
    </item>
    <item>
      <title>All the Lightweight Web servers of the world</title>
      <link>http://www.programmersheaven.com/article/101722-All+the+Lightweight+Web+servers+of+the+world/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Solrac/"&gt;Solrac&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/101722-All+the+Lightweight+Web+servers+of+the+world/info.aspx"&gt;All the Lightweight Web servers of the world&lt;/a&gt;'.&lt;/p&gt;There's far more to the world of Web servers than just Apache and IIS. While lightweight Web servers have much in common, there's also variation within the category. Most are written in C, but several other implementation languages have proven successful among the servers with which I've experimented, including Erlang, Java, Lisp, Lua, Perl, Python, and Tcl. If there's a language you favor, you can probably find a lightweight Web server here coded for your convenience. Survey the possibilities and see how they apply to you.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/101722-All+the+Lightweight+Web+servers+of+the+world/info.aspx</guid>
      <pubDate>Thu, 22 Jan 2009 19:10:09 -0700</pubDate>
    </item>
    <item>
      <title>Stepping through a file</title>
      <link>http://www.programmersheaven.com/mb/perl/383289/383289/ReadMessage.aspx#383289</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/saridski/"&gt;saridski&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/perl/383289/383289/ReadMessage.aspx#383289"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi there,&lt;br /&gt;
&lt;br /&gt;
I have a file containg this:&lt;br /&gt;
&lt;br /&gt;
aabbccddeeffgg&lt;br /&gt;
&lt;br /&gt;
And i want the following output:&lt;br /&gt;
&lt;br /&gt;
aa&lt;br /&gt;
ab&lt;br /&gt;
bb&lt;br /&gt;
bc&lt;br /&gt;
cc&lt;br /&gt;
cd&lt;br /&gt;
dd&lt;br /&gt;
de&lt;br /&gt;
..&lt;br /&gt;
..&lt;br /&gt;
&lt;br /&gt;
I have tried with the following:&lt;br /&gt;
&lt;br /&gt;
..&lt;br /&gt;
while (($n = read(F_IN, $data, 2, $offset)) != 0) { &lt;br /&gt;
	print "$data\n";&lt;br /&gt;
	$offset += 1;&lt;br /&gt;
} &lt;br /&gt;
..&lt;br /&gt;
&lt;br /&gt;
But the output looks all wrong:&lt;br /&gt;
&lt;br /&gt;
aa&lt;br /&gt;
abb&lt;br /&gt;
abcc&lt;br /&gt;
abcdd&lt;br /&gt;
abcdee&lt;br /&gt;
abcdeff&lt;br /&gt;
abcdefgh&lt;br /&gt;
abcdefghi&lt;br /&gt;
abcdefghij&lt;br /&gt;
abcdefghijk&lt;br /&gt;
abcdefghijk&lt;br /&gt;
&lt;br /&gt;
Can anyone come with some insight? I'd really appreciate it.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance!&lt;br /&gt;
&lt;br /&gt;
saridski.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/383289/383289/ReadMessage.aspx#383289</guid>
      <pubDate>Thu, 18 Dec 2008 14:36:47 -0700</pubDate>
    </item>
    <item>
      <title>Simple Mozilla-Firefox Bookmarks Checker v0.2</title>
      <link>http://www.programmersheaven.com/download/53736/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/partenavia/"&gt;partenavia&lt;/a&gt; submitted a new file called '&lt;a href="http://www.programmersheaven.com/download/53736/download.aspx"&gt;Simple Mozilla-Firefox Bookmarks Checker v0.2&lt;/a&gt;'.&lt;/p&gt;This small and simple Perl program permits you to get some informations about mozilla-firefox bookmarks. It scans a given bookmark file and tries to output all broken and duplicated links in the file itself. It saves the result to an html file whose style is pretty changeable.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/53736/download.aspx</guid>
      <pubDate>Mon, 08 Dec 2008 08:17:38 -0700</pubDate>
    </item>
    <item>
      <title>Using the seek function to go to a certian byte range</title>
      <link>http://www.programmersheaven.com/mb/perl/382504/382504/ReadMessage.aspx#382504</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Reddyfire/"&gt;Reddyfire&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/382504/382504/ReadMessage.aspx#382504"&gt;Using the seek function to go to a certian byte range&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;So I'm trying to use the seek function to seek a couple of lines of the file without going to the end of the file. Just trying to stay within a certain byte range. Here is my code.&lt;br /&gt;
&lt;br /&gt;
#!/usr/local/bin/perl&lt;br /&gt;
print "content-type: text/html\n\n";&lt;br /&gt;
open (FILE, "&amp;lt; file.txt") or die("File not found");&lt;br /&gt;
seek FILE, 21,0;&lt;br /&gt;
while(&amp;lt;FILE&amp;gt;)&lt;br /&gt;
{&lt;br /&gt;
   print;&lt;br /&gt;
}&lt;br /&gt;
close(FILE);&lt;br /&gt;
exit;&lt;br /&gt;
&lt;br /&gt;
What would I need to do to only stay within a certain byte range and display the text only in that byte range without going to the end of the file. I have looked all over but can't seem to figure out how to do this without going to the end of the file.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/382504/382504/ReadMessage.aspx#382504</guid>
      <pubDate>Tue, 02 Dec 2008 12:48:34 -0700</pubDate>
    </item>
    <item>
      <title>Expand your user-authentication options with mouse dynamics</title>
      <link>http://www.programmersheaven.com/article/101211-Expand+your+user-authentication+options+with+mouse+dynamics/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jmalasko/"&gt;jmalasko&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/101211-Expand+your+user-authentication+options+with+mouse+dynamics/info.aspx"&gt;Expand your user-authentication options with mouse dynamics&lt;/a&gt;'.&lt;/p&gt;In this article, learn how to apply the open source tools cnee and Perl in mouse-click dynamics to measure the more subtle characteristics of human-computer interaction. Also, learn how to use the number and hold time of mouse-click events to help authenticate users.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/101211-Expand+your+user-authentication+options+with+mouse+dynamics/info.aspx</guid>
      <pubDate>Mon, 01 Dec 2008 10:25:59 -0700</pubDate>
    </item>
    <item>
      <title>Shut down idle computers on your network automatically</title>
      <link>http://www.programmersheaven.com/article/100922-Shut+down+idle+computers+on+your+network+automatically/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jmalasko/"&gt;jmalasko&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/100922-Shut+down+idle+computers+on+your+network+automatically/info.aspx"&gt;Shut down idle computers on your network automatically&lt;/a&gt;'.&lt;/p&gt;Recent pushes for &amp;quot;green&amp;quot; technology focus mostly on talk, with little action for the typical home- or small-office environment. Many users leave their systems online continuously, resulting in a significant source of power consumption. Learn how to use Argus and client/server Perl code to monitor your network connections and shut down machines no longer in use.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/100922-Shut+down+idle+computers+on+your+network+automatically/info.aspx</guid>
      <pubDate>Thu, 23 Oct 2008 09:02:08 -0700</pubDate>
    </item>
    <item>
      <title>Write a Firefox extension to rotate images in mapping apps</title>
      <link>http://www.programmersheaven.com/article/100876-Write+a+Firefox+extension+to+rotate+images+in+mapping+apps/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jmalasko/"&gt;jmalasko&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/100876-Write+a+Firefox+extension+to+rotate+images+in+mapping+apps/info.aspx"&gt;Write a Firefox extension to rotate images in mapping apps&lt;/a&gt;'.&lt;/p&gt;Most online mapping applications assume that the desired view is always north at the top of the image. This article presents tools and code that show how to replace the map image with an inverted copy, where south is at the top. Using a Firefox extension and the Imager Perl module, each tile that comprises the full image is extracted, rotated, and placed back in the image at the appropriate spot.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/100876-Write+a+Firefox+extension+to+rotate+images+in+mapping+apps/info.aspx</guid>
      <pubDate>Thu, 16 Oct 2008 09:22:50 -0700</pubDate>
    </item>
    <item>
      <title>Checking and Downloading mail messages</title>
      <link>http://www.programmersheaven.com/mb/perl/381215/381215/ReadMessage.aspx#381215</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/ve6sar/"&gt;ve6sar&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/381215/381215/ReadMessage.aspx#381215"&gt;Checking and Downloading mail messages&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Good day,&lt;br /&gt;
&lt;br /&gt;
I'm looking at writing a script that checks my gmail account for messages with a certain subject and then parsing it. &lt;br /&gt;
&lt;br /&gt;
Where I'm having problems is I can't seem to get either GMail::IMAPD&lt;br /&gt;
or Mail::Webmail::Gmail to connect and check the message list.&lt;br /&gt;
&lt;br /&gt;
Has anyone had success with either of these modules?&lt;br /&gt;
&lt;br /&gt;
Is there a better one oput there?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Sean&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/381215/381215/ReadMessage.aspx#381215</guid>
      <pubDate>Wed, 15 Oct 2008 21:04:25 -0700</pubDate>
    </item>
    <item>
      <title>Enhance image overlay maps in Google Earth with altitude attributes</title>
      <link>http://www.programmersheaven.com/article/100675-Enhance+image+overlay+maps+in+Google+Earth+with+altitude+attributes/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jmalasko/"&gt;jmalasko&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/100675-Enhance+image+overlay+maps+in+Google+Earth+with+altitude+attributes/info.aspx"&gt;Enhance image overlay maps in Google Earth with altitude attributes&lt;/a&gt;'.&lt;/p&gt;Learn how to use Perl and the Imager module to enhance mapping applications by extracting and applying height information based on color. The end result is a third dimension of data, showing more information in the same space and opening up new methods of visualization for your map users.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/100675-Enhance+image+overlay+maps+in+Google+Earth+with+altitude+attributes/info.aspx</guid>
      <pubDate>Thu, 25 Sep 2008 09:52:11 -0700</pubDate>
    </item>
    <item>
      <title>Create time-availability maps with Perl and Google Earth</title>
      <link>http://www.programmersheaven.com/article/100266-Create+time-availability+maps+with+Perl+and+Google+Earth/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/jmalasko/"&gt;jmalasko&lt;/a&gt; submitted a new article called '&lt;a href="http://www.programmersheaven.com/article/100266-Create+time-availability+maps+with+Perl+and+Google+Earth/info.aspx"&gt;Create time-availability maps with Perl and Google Earth&lt;/a&gt;'.&lt;/p&gt;Nationwide and international teams and flexible work hours contribute to change in when and where teams work together. Time-availability maps provide a listing of who is most likely to be available for a certain hour in a certain location. Find out how to use Google Earth and a log of your communications to map and identify the time and place when availabilities match.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/100266-Create+time-availability+maps+with+Perl+and+Google+Earth/info.aspx</guid>
      <pubDate>Wed, 27 Aug 2008 10:00:01 -0700</pubDate>
    </item>
    <item>
      <title>Re: Open Source Perl editor</title>
      <link>http://www.programmersheaven.com/mb/perl/374330/374354/ReadMessage.aspx#374354</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Jonathan/"&gt;Jonathan&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/374330/374354/ReadMessage.aspx#374354"&gt;Re: Open Source Perl editor&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;: Also, does anyone know a good site to download a Perl editor, like &lt;br /&gt;
: KATE which is actually my fav, for free??  Unfortunately I'm running &lt;br /&gt;
: windows right now, coding in editpad using the Perl interpreter &lt;br /&gt;
: through command prompt, because I am still working on Linux(suse) &lt;br /&gt;
: for this comp, so I don't know if I could run KATE or not, but I do &lt;br /&gt;
: know I need a good coding editor, preferably from opensource for &lt;br /&gt;
: little or no cost. Any ideas? &lt;br /&gt;
: &lt;br /&gt;
Check out Padre, which is currently a work in progress but actually written in Perl itself (I saw it being talked about at the European Perl Conference just last week, not had chance to try it myself yet), and also EPIC, which is an Eclipse IDE plug-in for Perl support.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://padre.perlide.org/"&gt;http://padre.perlide.org/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.epic-ide.org/"&gt;http://www.epic-ide.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;br /&gt;
&lt;br /&gt;
Jonathan&lt;br /&gt;
###&lt;br /&gt;
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&amp;amp;&amp;amp;&lt;br /&gt;
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;&lt;br /&gt;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/374330/374354/ReadMessage.aspx#374354</guid>
      <pubDate>Thu, 21 Aug 2008 02:37:16 -0700</pubDate>
    </item>
    <item>
      <title>Re: HELP: parsing unicode web sites</title>
      <link>http://www.programmersheaven.com/mb/perl/373829/373906/ReadMessage.aspx#373906</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/andrewwan1980/"&gt;andrewwan1980&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373829/373906/ReadMessage.aspx#373906"&gt;Re: HELP: parsing unicode web sites&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Thanks to those who helped. Here's my working script:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;#!/usr/bin/perl
# tom365crawl2.pl
# &lt;a href="http://www.cs.utk.edu/cs594ipm/perl/crawltut.html"&gt;http://www.cs.utk.edu/cs594ipm/perl/crawltut.html&lt;/a&gt;
# &lt;a href="http://perldoc.perl.org/Encode.html"&gt;http://perldoc.perl.org/Encode.html&lt;/a&gt;
# &lt;a href="http://juerd.nl/site.plp/perluniadvice"&gt;http://juerd.nl/site.plp/perluniadvice&lt;/a&gt;
# &lt;a href="http://www.perlmonks.org/?node_id=620068"&gt;http://www.perlmonks.org/?node_id=620068&lt;/a&gt;

use warnings;
use strict;

use File::stat;
use Tie::File;

use LWP::Simple;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Response;
use HTML::LinkExtor; # Allows you to extract the links off of an HTML page.
#use File::Slurp;

use Encode;

my $site1 = "http://www.tom365.com/"; # Full url like &lt;a href="http://www.tom365.com/movie_2004/html/????.html"&gt;http://www.tom365.com/movie_2004/html/????.html&lt;/a&gt;
my $delim1a = "\&amp;lt;div class=\"movie\"\&amp;gt;\&amp;lt;img src=\"";
my $delim1b = "\" class=\"mp\" \/\&amp;gt;";
my $folder1 = "movie_2004/html/";
my $url1;
my $start1 = 1000;
my $end1 = 1000;
my $contents1;
my $image1;

my $browser1 = LWP::UserAgent-&amp;gt;new();
$browser1-&amp;gt;timeout(10);
my $request1;
my $response1;

my $count;
for ($count=$start1; $count&amp;lt;=$end1; $count++) {
  $url1 = $site1 . $folder1 . $count . ".html";
  printf "Downloading %s\n", $url1;

  # Method 1
  #$contents1 = get($url1);

  # Method 2
  $request1 = HTTP::Request-&amp;gt;new(GET =&amp;gt; $url1);
  $response1 = $browser1-&amp;gt;request($request1);
  if ($response1-&amp;gt;is_error()) {
    printf "%s\n", $response1-&amp;gt;status_line;
  }
  $contents1 = $response1-&amp;gt;decoded_content();

  #open(NEWFILE1, "&amp;gt; Debug.txt");
  #(print NEWFILE1 $contents1)    or die "Can't write to Debug.txt: $!";
  #close(NEWFILE1);

  #print $contents1;

  if ($contents1 =~ /\&amp;lt;div class=\"movie\"\&amp;gt;\&amp;lt;img src=\"(.*)\" class=\"mp\" \/\&amp;gt;/m) {
    $image1 = "$1";
    printf "Downloading %s\n", $image1;
    `wget -q -O $count.jpg $image1`;

    #if ($image1 =~ /\/([^\/]*)$/m) {
    #  printf "Renaming %s to $count.jpg\n", $1;
    #} else {
    #  printf "Could not rename %s to $count.jpg\n", $image1;
    #}
  } else {
    #open(NEWFILE1, "&amp;gt; $count.txt");
    #(print NEWFILE1 "Download failed.\n")    or die "Can't write to $image1: $!";
    #close(NEWFILE1);
  }
}&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373829/373906/ReadMessage.aspx#373906</guid>
      <pubDate>Mon, 04 Aug 2008 03:44:22 -0700</pubDate>
    </item>
    <item>
      <title>Re: open a program in perl, write to it and then obtain its output</title>
      <link>http://www.programmersheaven.com/mb/perl/373099/373831/ReadMessage.aspx#373831</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Jonathan/"&gt;Jonathan&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373099/373831/ReadMessage.aspx#373831"&gt;Re: open a program in perl, write to it and then obtain its output&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;: I'm trying to open a program in Perl (say the R language). I'd like &lt;br /&gt;
: to be able to send code to this other program once it launches, and &lt;br /&gt;
: then gather the output back in Perl. Is there some way to do this?&lt;br /&gt;
: &lt;br /&gt;
Yes; check out this from the Perl docs:&lt;br /&gt;
&lt;a href="http://perldoc.perl.org/perlipc.html#Bidirectional-Communication-with-Another-Process"&gt;http://perldoc.perl.org/perlipc.html#Bidirectional-Communication-with-Another-Process&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Jonathan&lt;br /&gt;
###&lt;br /&gt;
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&amp;amp;&amp;amp;&lt;br /&gt;
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;&lt;br /&gt;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373099/373831/ReadMessage.aspx#373831</guid>
      <pubDate>Thu, 31 Jul 2008 08:30:37 -0700</pubDate>
    </item>
    <item>
      <title>Re: HELP: parsing unicode web sites</title>
      <link>http://www.programmersheaven.com/mb/perl/373829/373830/ReadMessage.aspx#373830</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Jonathan/"&gt;Jonathan&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373829/373830/ReadMessage.aspx#373830"&gt;Re: HELP: parsing unicode web sites&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
A unicode advice page:&lt;br /&gt;
&lt;a href="http://juerd.nl/site.plp/perluniadvice"&gt;http://juerd.nl/site.plp/perluniadvice&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Notes that recent versions of LWP are unicode aware - are you running a fairly recent version of the module and/or recent version of Perl? It also suggests looking at HTTP::Response::Charset.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Jonathan&lt;br /&gt;
###&lt;br /&gt;
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&amp;amp;&amp;amp;&lt;br /&gt;
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;&lt;br /&gt;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373829/373830/ReadMessage.aspx#373830</guid>
      <pubDate>Thu, 31 Jul 2008 08:28:17 -0700</pubDate>
    </item>
    <item>
      <title>HELP: parsing unicode web sites</title>
      <link>http://www.programmersheaven.com/mb/perl/373829/373829/ReadMessage.aspx#373829</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/andrewwan1980/"&gt;andrewwan1980&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373829/373829/ReadMessage.aspx#373829"&gt;HELP: parsing unicode web sites&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;I need help in parsing unicode webpages &amp;amp; downloading jpeg image files via Perl scripts.&lt;br /&gt;
&lt;br /&gt;
I read &lt;a href="http://www.cs.utk.edu/cs594ipm/perl/crawltut.html"&gt;http://www.cs.utk.edu/cs594ipm/perl/crawltut.html&lt;/a&gt; about using LWP or HTTP or get($url) functions &amp;amp; libraries. But the content returned is always garbled. I have used get($url) on a non-unicode webpage and the content is returned in perfect ascii.&lt;br /&gt;
&lt;br /&gt;
But now I want to parse &lt;a href="http://www.tom365.com/movie_2004/html/5507.html"&gt;http://www.tom365.com/movie_2004/html/5507.html&lt;/a&gt; and the page I get back is garbled encoded. I have read about Encode but don't know how to use it.&lt;br /&gt;
&lt;br /&gt;
I need a Perl script to parse that above page and extract the URL for the image in this pattern:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class="movie"&amp;gt;&amp;lt;img src="http://pic.tom365.com/imgs/tongjifan.jpg" class="mp" /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If anyone knows how to do this parsing unicode webpages then I'd be very grateful.&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373829/373829/ReadMessage.aspx#373829</guid>
      <pubDate>Thu, 31 Jul 2008 06:56:56 -0700</pubDate>
    </item>
    <item>
      <title>Extracting specific variables from a fixed-width data file</title>
      <link>http://www.programmersheaven.com/mb/perl/373119/373119/ReadMessage.aspx#373119</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/lunabelle22a/"&gt;lunabelle22a&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373119/373119/ReadMessage.aspx#373119"&gt;Extracting specific variables from a fixed-width data file&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;I have a data file with a 6 fixed-width columns. These columns alternate between variables (width=25) and their corresponding values (width=15). There are a total of 125 variables, however I only need 6 of them and their values for future plotting purposes.&lt;br /&gt;
&lt;br /&gt;
How do I extract ONLY the variables and values i need from this rather large table and print them in a plottable format? Is there a script I can use that will find/locate specific keys in a data file?&lt;br /&gt;
&lt;br /&gt;
Thank you!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373119/373119/ReadMessage.aspx#373119</guid>
      <pubDate>Thu, 03 Jul 2008 11:19:23 -0700</pubDate>
    </item>
    <item>
      <title>open a program in perl, write to it and then obtain its output</title>
      <link>http://www.programmersheaven.com/mb/perl/373099/373099/ReadMessage.aspx#373099</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/aardvarc/"&gt;aardvarc&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/373099/373099/ReadMessage.aspx#373099"&gt;open a program in perl, write to it and then obtain its output&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I'm trying to open a program in Perl (say the R language). I'd like to be able to send code to this other program once it launches, and then gather the output back in Perl. Is there some way to do this?&lt;br /&gt;
&lt;br /&gt;
Thanks very much.&lt;br /&gt;
&lt;br /&gt;
L.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/373099/373099/ReadMessage.aspx#373099</guid>
      <pubDate>Wed, 02 Jul 2008 20:43:05 -0700</pubDate>
    </item>
    <item>
      <title>Re: Help in connecting to JDBC using perl</title>
      <link>http://www.programmersheaven.com/mb/perl/370465/371247/ReadMessage.aspx#371247</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Jonathan/"&gt;Jonathan&lt;/a&gt; posted the message '&lt;a href="http://www.programmersheaven.com/mb/perl/370465/371247/ReadMessage.aspx#371247"&gt;Re: Help in connecting to JDBC using perl&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/perl/Board.aspx"&gt;Perl&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I think the connection string is wrong...looking at the docs:&lt;br /&gt;
&lt;a href="http://search.cpan.org/~vizdom/DBD-JDBC-0.70/JDBC.pod"&gt;http://search.cpan.org/~vizdom/DBD-JDBC-0.70/JDBC.pod&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It should be more like "dbi:JDBC:hostname...". See that documentation for full details of the module - I'm not in any way familiar with it so I can't tell you any more than it can.&lt;br /&gt;
&lt;br /&gt;
Jonathan&lt;br /&gt;
###&lt;br /&gt;
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&amp;amp;&amp;amp;&lt;br /&gt;
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;&lt;br /&gt;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/perl/370465/371247/ReadMessage.aspx#371247</guid>
      <pubDate>Wed, 16 Apr 2008 04:40:51 -0700</pubDate>
    </item>
  </channel>
</rss>