<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; perl</title> <atom:link href="http://www.ghacks.net/tag/perl/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 09:07:37 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Have some Linux ascii fun with asciiquarium</title><link>http://www.ghacks.net/2011/03/02/have-some-linux-ascii-fun-with-asciiquarium/</link> <comments>http://www.ghacks.net/2011/03/02/have-some-linux-ascii-fun-with-asciiquarium/#comments</comments> <pubDate>Wed, 02 Mar 2011 19:54:41 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[aquarium]]></category> <category><![CDATA[ascii]]></category> <category><![CDATA[command-line]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[terminal tricks]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=41993</guid> <description><![CDATA[Never let it be said that Linux users and developers do not have a sense of humor. Even the most hardcore of users, developers, designers, and administrators need something to serve as a distraction. Oh sure there&#8217;s always an endless array of web sites to take our attention, but that requires a GUI! What if [...]]]></description> <content:encoded><![CDATA[<p>Never let it be said that Linux users and developers do not have a sense of humor. Even the most hardcore of users, developers, designers, and administrators need something to serve as a distraction. Oh sure there&#8217;s always an endless array of web sites to take our attention, but that requires a GUI! What if you&#8217;re spending a lot of time on your GUI-less Apache server, file server, or any other type of Linux server? What then? NCurses can only do so much with text right? Not if you&#8217;re creative enough to install an ascii aquarium on your machine.</p><p>With this little ascii animation you can enjoy an animated pseudo-screensaver even on your GUI-less server. It won&#8217;t boost your productivity, it won&#8217;t make you a better programmer or your web site run faster. But it could bring you a bit of &#8220;security through obfuscation&#8221; from those who want to try to log onto your physical GUI-less workstation. Let&#8217;s see how to install and use this little under water wonder.</p><p><span
id="more-41993"></span><strong>Installation</strong></p><p>This little gem can be install on nearly any Linux distribution. As long as you have Perl installed, you should be able to get this up and running in no time. Here are the steps you need to follow. I will assume you might want to test this on a normal GUI-fied version of Linux before you try it on your GUI-less server. So, let&#8217;s install.</p><p>The first portion of the installation will take care of any remaining dependencies that aren&#8217;t included in the standard Perl installation. For this installation, follow these steps:</p><ol><li>Open up a terminal windows. If you are using a GUI-less server then just log in.</li><li>Change to the /tmp directory with the command <code>cd /tmp</code>.</li><li>Download the Terminal Animation package with the command <code>wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz</code>.</li><li>Unpack the Terminal Animation package with the command <code>tar -zxvf Term-Animation-2.4.tar.gz</code>.</li><li>Change into the newly created directory with the command <code>cd Term-Animation-2.4/</code>.</li><li>Build the makefile with the command <code>perl Makefile.PL &amp;&amp; make &amp;&amp; make test</code>.</li><li>Compile Terminal Animation with the command <code>sudo make install</code></li><p><code> </code></ol><p>Now to install the actually asciiquarium application. Follow these steps.</p><ol><li>Open a terminal window (again, if you are using a GUI-less server, just log in).</li><li>Change to the /tmp directory with the command <code>cd /tmp</code>.</li><li>Download the necessary package with the command <code>wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz</code>.</li><li>Unpack the asciiquarium package with the command <code>tar -zxvf asciiquarium.tar.gz</code>.</li><li>Change into the newly created directory with the command <code>cd asciiquarium</code>.</li><li>Copy the executable to the necessary directory with the command <code>sudo cp asciiquarium /usr/local/bin</code>.</li><li>Give the executable the proper permissions with the command <code>sudo chmod 0755 /usr/loca/bin/asciiquarium</code>.</li></ol><div
id="attachment_42003" class="wp-caption alignleft" style="width: 340px"><a
href="http://www.ghacks.net/wp-content/uploads/2011/03/asciiquarium.png"><img
class="size-medium wp-image-42003 " src="http://www.ghacks.net/wp-content/uploads/2011/03/asciiquarium-550x346.png" alt="" width="330" height="208" /></a><p
class="wp-caption-text">Figure 1</p></div><p>It is time to test out the waters of asciiquarium. To do so open up your terminal window (or if using a GUI-less machine &#8211; log in) and issue the command /usr/local/bin/asciiquarium. When it runs it will look something similar to Figure 1 (but in animated form).</p><p>Now, you may be asking yourself how could this serve as a form of security? Simple. Even with a standard desktop distribution you can log into a virtual terminal (Ctrl-Alt-F2 &#8211; for instance), log in, and run the application. Your full screen will be filled with the asciiquarium and unless a user knows to either hit Ctrl-c or move back to your original virtual terminal, they won&#8217;t have the slightest idea what to do.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/03/02/have-some-linux-ascii-fun-with-asciiquarium/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Install Perl modules using CPAN</title><link>http://www.ghacks.net/2010/02/21/install-perl-modules-using-cpan/</link> <comments>http://www.ghacks.net/2010/02/21/install-perl-modules-using-cpan/#comments</comments> <pubDate>Sun, 21 Feb 2010 16:19:36 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[CPAN]]></category> <category><![CDATA[CPAN console]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[perl modules]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=23254</guid> <description><![CDATA[If you&#8217;ve come across any software that requires Perl modules, you might have found yourself pulling out your hair, trying to figure out how to install those modules. You&#8217;ve tried downloading the source, only to find one dependency issue or another. You&#8217;ve searched Synaptic or gnome-packagekit high and low to come up empty handed. What [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve come across any software that requires Perl modules, you might have found yourself pulling out your hair, trying to figure out how to install those modules. You&#8217;ve tried downloading the source, only to find one dependency issue or another. You&#8217;ve searched Synaptic or gnome-packagekit high and low to come up empty handed.</p><p>What you may not know is there is a tool specifically designed to help you install Perl modules. The tool? CPAN. CPAN is the Comprehensive Perl Archive Network and contains a vast assortment of software, used by and with Perl, and makes for easy installation. Problem is, most people don&#8217;t know about CPAN or how to use it.</p><p>In this article I will introduce you to the CPAN tool and how it can be used to help you get all the Perl modules you need installed. NOTE: There will be times when CPAN has trouble installing modules. In those cases, the best bet is to download the source and read through the README file for better instructions. Generally speaking though, you should be able to get the majority of modules installed with this tool.</p><p><span
id="more-23254"></span><strong>Installing CPAN</strong></p><p>If you have Perl installed on your machine, you have CPAN. You can test this out by issuing the command <em>cpan</em> from the command line. If you get the dreaded <em>command not found</em> make sure you have:</p><ul><li>perl</li><li>perl-base</li><li>perl-modules</li></ul><p>installed. If one (or more) is missing, mark them for installation and then try the command again. When you have successfully reached the CPAN console your prompt will look like:</p><p><em>cpan[1]&gt;</em></p><p>When you see that, you&#8217;re ready to rock.</p><p><strong>Basic structure</strong></p><p>The basic structure of cpan is simple. Once you&#8217;re at the command prompt you would issue a command similar to:</p><p><em>install MODULE::NAME</em></p><p>Where <em>MODULE::NAME </em>is the actual name of the module.</p><p>But when you first run CPAN the system will ask you a few easy questions. CPAN will want to check for a network connection and so on (hit Enter to accept all of the defaults).</p><p><strong>First things</strong></p><p>When you have first reached the CPAN prompt you might want to first install a couple of bundle packs that contain numerous modules. The very first install command you will enter is:</p><p><em>install Bundle::CPAN</em></p><p>The above command will install numerous modules, but it might also come up with some errors. Any time you receive an error in CPAN it will report the error to you in the console. Often times the error will point you in a direction that will help to resolve an issue. For example, running <em>install Bundle::CPAN </em>on a fresh install gives me:</p><p><code> Warning: prerequisite Compress::Raw::Zlib 2.024 not found. We have 2.008.<br
/> Writing Makefile for IO::Compress<br
/> Could not read '/root/.cpan/build/IO-Compress-2.024-1nwcFW/META.yml'. Falling back to other methods to determine prerequisites<br
/> ---- Unsatisfied dependencies detected during ----<br
/> ----       PMQS/IO-Compress-2.024.tar.gz      ----<br
/> Compress::Raw::Zlib [requires]<br
/> Compress::Raw::Bzip2 [requires]<br
/> Shall I follow them and prepend them to the queue<br
/> of modules we are processing right now? [yes]</code></p><p>So, as you can see, CPAN is intelligently resolving your dependency issues for you. In a large install like Bundle:CPAN this can take quite some time.</p><p><strong>How to know which module?</strong></p><p>If you are trying to install a piece of software on Linux usually you are given a solid roadmap in either the README or INSTALL file with the source. Within that file will be listed any/all Perl modules necessary to meet the installation requirements. And now, with the help of CPAN, you can install them.</p><p><strong>Final thoughts</strong></p><p>Believe it or not, using CPAN is a simple process. From this easy to use console you can install all of the Perl modules you need. Of course, there is much more to CPAN than this. To find out how much more enter <em>h</em> at the CPAN console for the help file.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/21/install-perl-modules-using-cpan/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>ShowMeDo Free Video Tutorial Website</title><link>http://www.ghacks.net/2006/12/10/showmedo-free-video-tutorial-website/</link> <comments>http://www.ghacks.net/2006/12/10/showmedo-free-video-tutorial-website/#comments</comments> <pubDate>Sun, 10 Dec 2006 08:27:42 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[The Web]]></category> <category><![CDATA[clip]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[python]]></category> <category><![CDATA[screencasting]]></category> <category><![CDATA[showmedo]]></category> <category><![CDATA[teach]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[video]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2006/12/10/showmedo-free-video-tutorial-website/</guid> <description><![CDATA[ShowMeDo is a relatively new website that is about videos by the people, for the people as they put it. Not the normal type of videos that you find on sites like youtube but videos that teach the viewer. The site currently has seven categories where movies are located, those are Python, Java, Ruby, Linux, Blender, Screencasting and Other. The biggest category is the Other category which will most likely be the most interesting category for everyone who is not into programming, linux and 3d.]]></description> <content:encoded><![CDATA[<p><a
title="showmedo" target="_blank" href="http://showmedo.com/">ShowMeDo</a> is a relatively new website that is about videos by the people, for the people as they put it. Not the normal type of videos that you find on sites like youtube but videos that teach the viewer. The site currently has seven categories where movies are located, those are Python, Java, Ruby, Linux, Blender, Screencasting and Other. The biggest category is the Other category which will most likely be the most interesting category for everyone who is not into programming, linux and 3d.</p><p>I know that you would like some examples of videos that you can find at ShowMeDo, here we go. I pick three random ones: Getting Started with WordPress, Basic Car Maintenance and The Perfect Cup of Coffee, As you can see they offer tech related video tutorials and &#8220;real-life&#8221; tutorials as well. Playing a video works the same way as in youtube, just click the link, the video loads and you press play in the video to start it. If youtube works for you ShowMeDo will as well.</p><p><span
id="more-994"></span>As I said earlier it is a relatively new website which means that they do not have millions of videos. It also takes a longer time for the users to create tutorial videos as you can imagine. The ShowMeDo wiki has a (written) <a
title="showmedo tutorial" target="_blank" href="http://wiki.showmedo.com/index.php?title=Making_a_ShowMeDo_video">tutorial</a> that explains in detail how to create videos that can be uploaded to ShowMeDo, why not share your knowledge if you are good at something ?</p><p>You may request tutorials about a certain subject. Users can vote which request is of interest to them. This is a nice feature, really nice. You still need someone to pick up your request so don&#8217;t start with something like theory of relativity. I suppose basic stuff works best here.</p><p>If ShowMeDo manages to gain some momentum and exposure on the internet they surely will make they way as a great niche movie website that is able to survive amongst the big players.</p><p>found at <a
title="donationcoder" target="_blank" href="http://www.donationcoder.com/">donationcoder</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2006/12/10/showmedo-free-video-tutorial-website/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> </channel> </rss>
