<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>w3mentor &#187; CGI</title>
	<atom:link href="http://w3mentor.com/learn/category/perl/cgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://w3mentor.com</link>
	<description>Learning web technologies simplified!</description>
	<lastBuildDate>Sat, 28 Jan 2012 20:16:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Determining the User Agent in CGI</title>
		<link>http://w3mentor.com/learn/perl/cgi/determining-the-user-agent-in-cgi/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/determining-the-user-agent-in-cgi/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 20:10:07 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[user agent]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9872</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $useragent = $ENV&#123;'HTTP_USER_AGENT'&#125;; print header, start_html&#40;'User Agent Example'&#41;; if &#40;$useragent =~ /Firefox/&#41; &#123; print p&#40;&#34;You are visiting with a Firefox browser&#34;&#41;; &#125; elsif &#40;$useragent =~ /MSIE/&#41; &#123; print p&#40;&#34;You are visiting with &#8230; <a href="http://w3mentor.com/learn/perl/cgi/determining-the-user-agent-in-cgi/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/determining-the-user-agent-in-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using carp module to log errors to file</title>
		<link>http://w3mentor.com/learn/perl/cgi/using-carp-module-to-log-errors-to-file/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/using-carp-module-to-log-errors-to-file/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:51:49 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[logging]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9859</guid>
		<description><![CDATA[BEGIN &#123; use CGI::Carp qw&#40;carpout&#41;; open LOG, '&#62;&#62;', '/var/log/apache/carperror.log' or die &#34;Cannot open file: $!\n&#34;; carpout&#40;LOG&#41;; &#125;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/using-carp-module-to-log-errors-to-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Carp Module for Debugging CGI</title>
		<link>http://w3mentor.com/learn/perl/cgi/using-carp-module-for-debugging-cgi/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/using-carp-module-for-debugging-cgi/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:50:20 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[debug]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9857</guid>
		<description><![CDATA[#!/usr/bin/perl use CGI::Carp qw&#40;fatalsToBrowser&#41;; use CGI qw/:standard/; print &#34;Content-type: text/html\n\n&#34;; die &#34;I killed it here&#34;;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/using-carp-module-for-debugging-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewing Environment Variables in a CGI Script</title>
		<link>http://w3mentor.com/learn/perl/cgi/viewing-environment-variables-in-a-cgi-script/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/viewing-environment-variables-in-a-cgi-script/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:48:27 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[environment]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9855</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; print header, start_html&#40;'Environment Variables'&#41;; foreach my $variable &#40;keys %ENV&#41; &#123; print p&#40;&#34;$variable is $ENV{$variable}&#34;&#41;; &#125; print end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/viewing-environment-variables-in-a-cgi-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving Multiple Cookies in CGI</title>
		<link>http://w3mentor.com/learn/perl/cgi/retrieving-multiple-cookies-in-cgi/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/retrieving-multiple-cookies-in-cgi/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:47:50 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookie]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9853</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $retrievedcookie1 = cookie&#40;'testcookie'&#41;; my $retrievedcookie2 = cookie&#40;'secondcookie'&#41;; print header, start_html, p&#40;&#34;You sent a couple cookies and their values were $retrievedcookie1 and ➥ $retrievedcookie2\n&#34;&#41;, end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/retrieving-multiple-cookies-in-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending Multiple Cookies Using CGI.pm</title>
		<link>http://w3mentor.com/learn/perl/cgi/sending-multiple-cookies-using-cgi-pm/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/sending-multiple-cookies-using-cgi-pm/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:47:11 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookie]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9851</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $cookie1 = cookie&#40;-name=&#62;'testcookie',value=&#62;'testcookievalue',expires=&#62;'+7d'&#41;; my $cookie2 = cookie&#40;-name=&#62;'secondcookie',value=&#62;'secondcookievalue',➥ expires=&#62;'+1d'&#41;; print header &#40;-cookie=&#62;&#91;$cookie1,$cookie2&#93;&#41;, start_html&#40;'CGI Cookie Test'&#41;, p&#40;&#34;You've received a cookie\n&#34;&#41;, end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/sending-multiple-cookies-using-cgi-pm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Cookie Expiration Using the CGI Module</title>
		<link>http://w3mentor.com/learn/perl/cgi/setting-cookie-expiration-using-the-cgi-module/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/setting-cookie-expiration-using-the-cgi-module/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:46:42 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookie]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9849</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $cookie = cookie&#40;-name=&#62;'testcookie',value=&#62;'testcookievalue',-expires=&#62;'+7d'&#41;; print header &#40;-cookie=&#62;$cookie&#41;, start_html&#40;'CGI Cookie Test'&#41;, p&#40;&#34;You've received a cookie\n&#34;&#41;, end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/setting-cookie-expiration-using-the-cgi-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieving cookies in CGI</title>
		<link>http://w3mentor.com/learn/perl/cgi/retrieving-cookies-in-cgi/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/retrieving-cookies-in-cgi/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:45:08 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookies]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9845</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $retrievedcookie = cookie&#40;'testcookie'&#41;; print header, start_html, p&#40;&#34;You sent a cookie and its value was $retrievedcookie\n&#34;&#41;, end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/retrieving-cookies-in-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Cookie Example Using the CGI Module</title>
		<link>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-using-the-cgi-module/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-using-the-cgi-module/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:44:16 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9843</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; my $cookie = cookie&#40;-name=&#62;'testcookie',-value=&#62;'testvalue'&#41;; print header &#40;-cookie=&#62;$cookie&#41;; print &#34;You've received a cookie&#60;p&#62;\n&#34;; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-using-the-cgi-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple cookie example in PERL</title>
		<link>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-in-cgi/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-in-cgi/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:43:19 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9840</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; print &#34;Content-type: text/html\n&#34;; print &#34;Set-Cookie: testcookie=testvalue;&#34;; print &#34;\n\n&#34;; print &#34;You've received a cookie&#60;p&#62;\n&#34;; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/simple-cookie-example-in-cgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing the String Input Using the CGI Module</title>
		<link>http://w3mentor.com/learn/perl/cgi/printing-the-string-input-using-the-cgi-module/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/printing-the-string-input-using-the-cgi-module/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:42:30 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9838</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; print header, start_html&#40;'Hello'&#41;, start_form, &#34;Enter your name: &#34;,textfield&#40;'name'&#41;, submit, end_form, hr; if &#40;param&#40;&#41;&#41; &#123; print &#34;Hello &#34;, param&#40;'name'&#41;, p; &#125; print end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/printing-the-string-input-using-the-cgi-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code to Accept Input with the CGI Module</title>
		<link>http://w3mentor.com/learn/perl/cgi/code-to-accept-input-with-the-cgi-module/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/code-to-accept-input-with-the-cgi-module/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:40:59 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[input]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9836</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI qw/:standard/; print header, start_html&#40;'Hello'&#41;, start_form, &#34;Enter your name: &#34;,textfield&#40;'name'&#41;, submit, end_form, hr, end_html; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/code-to-accept-input-with-the-cgi-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PERL/CGI Hello World in Object-Oriented Fashion</title>
		<link>http://w3mentor.com/learn/perl/cgi/perlcgi-hello-world-in-object-oriented-fashion/</link>
		<comments>http://w3mentor.com/learn/perl/cgi/perlcgi-hello-world-in-object-oriented-fashion/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 19:39:03 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[object oriented]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=9834</guid>
		<description><![CDATA[#!/usr/bin/perl -T use strict; use CGI; my $cgi = new CGI; print $cgi-&#62;header; print $cgi-&#62;start_html&#40;'Hello World'&#41;; print $cgi-&#62;h1&#40;'Hello World'&#41;; print $cgi-&#62;end_html&#40;&#41;; exit;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/cgi/perlcgi-hello-world-in-object-oriented-fashion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: w3mentor.com @ 2012-02-05 13:48:17 -->
