<?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; Perl string manipulation</title>
	<atom:link href="http://w3mentor.com/learn/category/perl/perl-string-manipulation/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>Single quote vs double quote in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/single-quote-vs-double-quote-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/single-quote-vs-double-quote-in-perl/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 17:48:17 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8756</guid>
		<description><![CDATA[The double-quoted string will have its escape sequences processed, and the single-quoted string will not. #!/usr/bin/perl use warnings; print '\tThis is a single-quoted string.\n'; print &#34;\tThis is a double-quoted string.\n&#34;; The output is \tThis is a single-quoted string.\n This is &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/single-quote-vs-double-quote-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/single-quote-vs-double-quote-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Right trim function to remove trailing whitespace</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-right-trim-function-to-remove-trailing-whitespace/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-right-trim-function-to-remove-trailing-whitespace/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:20:46 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[trim]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8562</guid>
		<description><![CDATA[sub rtrim&#40;$) &#123; my $string = shift; $string =~ s/\s+$//; return $string; &#125; Example: # Create a test string my $string = &#34; \t Hello world! &#34;; # Here is how to output the trimmed text &#8220;Hello world!&#8221; print rtrim&#40;$string&#41;.&#34;\n&#34;;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-right-trim-function-to-remove-trailing-whitespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Left trim function to remove leading whitespace</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-left-trim-function-to-remove-leading-whitespace/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-left-trim-function-to-remove-leading-whitespace/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:20:04 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[trim]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8560</guid>
		<description><![CDATA[sub ltrim&#40;$) &#123; my $string = shift; $string =~ s/^\s+//; return $string; &#125; Example: # Create a test string my $string = &#34; \t Hello world! &#34;; # Here is how to output the trimmed text &#8220;Hello world!&#8221; print ltrim&#40;$string&#41;.&#34;\n&#34;;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-left-trim-function-to-remove-leading-whitespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl trim function to remove whitespace from the start and end of the string</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-trim-function-to-remove-whitespace-from-the-start-and-end-of-the-string/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-trim-function-to-remove-whitespace-from-the-start-and-end-of-the-string/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 16:19:01 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[trim]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8558</guid>
		<description><![CDATA[sub trim&#40;$) &#123; my $string = shift; $string =~ s/^\s+//; $string =~ s/\s+$//; return $string; &#125; Example: # Create a test string my $string = &#34; \t Hello world! &#34;; # Here is how to output the trimmed text &#8220;Hello &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/perl-trim-function-to-remove-whitespace-from-the-start-and-end-of-the-string/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/perl-trim-function-to-remove-whitespace-from-the-start-and-end-of-the-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strip out leading whitespace in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/strip-out-leading-whitespace-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/strip-out-leading-whitespace-in-perl/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 16:22:10 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[heredoc]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[whitespace]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8443</guid>
		<description><![CDATA[The code in the example removes leading whitespace from the text of the here document. The /m modifier lets the ^ character match at the start of each line in the string, and the /g modifier makes the pattern matching &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/strip-out-leading-whitespace-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/strip-out-leading-whitespace-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interpolating functions and expressions in perl strings</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/interpolating-functions-and-expressions-in-perl-strings/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/interpolating-functions-and-expressions-in-perl-strings/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 16:19:39 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[expression]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8441</guid>
		<description><![CDATA[We can construct more complex templates with scalar variable and function interpolation. Developers generally want a function call or expression to expand within a string. You can break up your expression into distinct concatenated pieces: $endresult = $varone . funccall&#40;&#41; &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/interpolating-functions-and-expressions-in-perl-strings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/interpolating-functions-and-expressions-in-perl-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Capitalize each word first character, downcase other characters.</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/capitalize-each-word-first-character-downcase-other-characters/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/capitalize-each-word-first-character-downcase-other-characters/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 16:12:11 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[case manipulation]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8439</guid>
		<description><![CDATA[$text = &#34;thIS is a loNG liNE&#34;; $text =~ s/(\w+)/\u\L$1/g; print $text; This Is A Long Line]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/capitalize-each-word-first-character-downcase-other-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert uppercase string to lowercase in Perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/convert-uppercase-string-to-lowercase-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/convert-uppercase-string-to-lowercase-in-perl/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 16:09:47 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[case manipulation]]></category>
		<category><![CDATA[lower]]></category>
		<category><![CDATA[upper]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8437</guid>
		<description><![CDATA[We can use the lc and uc functions or the \L and \U string escapes to convert between upper and lower case in Perl. use locale; # needed in 5.004 or above &#160; $upper = uc&#40;$lower&#41;; # &#34;hello&#34; -&#62; &#34;HELLO&#34; &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/convert-uppercase-string-to-lowercase-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/convert-uppercase-string-to-lowercase-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check if a string represents a valid number in Perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/check-if-a-string-represents-a-valid-number-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/check-if-a-string-represents-a-valid-number-in-perl/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:42:40 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8414</guid>
		<description><![CDATA[$string = 5; if &#40;$string =~ /^[+-]?\d+$/&#41; &#123; # is a integer &#125; else &#123; # is not &#125;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/check-if-a-string-represents-a-valid-number-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prints characters in string by ascending ASCII order</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/prints-characters-in-string-by-ascending-ascii-order/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/prints-characters-in-string-by-ascending-ascii-order/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:16:04 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[sort]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8241</guid>
		<description><![CDATA[%seen = &#40;&#41;; $string = &#34;this is a perl tut&#34;; foreach $byte &#40;split //, $string&#41; &#123; $seen&#123;$byte&#125;++; &#125; print &#34;unique chars are: &#34;, sort&#40;keys %seen&#41;, &#34;\n&#34;;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/prints-characters-in-string-by-ascending-ascii-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Split string into characters in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/split-string-into-characters-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/split-string-into-characters-in-perl/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:13:56 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[characters]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8239</guid>
		<description><![CDATA[We can process a string one character at a time by splitting it using the split function and a null parameter defined as // $string = &#34;w3m&#34;; @strarr = split&#40;//, $string&#41;; Output: strarr[0] = w strarr[1] = 3 strarr[2] = &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/split-string-into-characters-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/split-string-into-characters-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract string column with unpack in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/extract-string-column-with-unpack-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/extract-string-column-with-unpack-in-perl/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:44:40 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8230</guid>
		<description><![CDATA[$a = &#34;perl tutorials&#34;; $b = unpack&#40;&#34;x6 A8&#34;, $a&#41;; # skip 6, read next 8 print $b; Output: utorials]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/extract-string-column-with-unpack-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test empty strings in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/test-empty-strings-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/test-empty-strings-in-perl/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:35:21 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8205</guid>
		<description><![CDATA[To test for a empty string simply do the following: if &#40;$mystring eq &#34;&#34;&#41; &#123; #string is empty &#125; For a null or undefined value do: if&#40;$mystring&#41; &#123; #variable is undefined &#125; if&#40;$mystring eq undef&#41; &#123; #variable is undefined &#125;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/test-empty-strings-in-perl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Swap the first and last letters in a string using perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/swap-the-first-and-last-letters-in-a-string-using-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/swap-the-first-and-last-letters-in-a-string-using-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:10:55 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8193</guid>
		<description><![CDATA[$str = &#34;take a ham&#34;; &#40;substr&#40;$str,0,1&#41;, substr&#40;$str,-1&#41;&#41; = &#40;substr&#40;$str,-1&#41;, substr&#40;$str,0,1&#41;&#41;; print $str; Output: make a hat]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/swap-the-first-and-last-letters-in-a-string-using-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using unpack function in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/using-unpack-function-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/using-unpack-function-in-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:06:19 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8191</guid>
		<description><![CDATA[The unpack function gives only read access, but is faster when you have many substrings to extract. # get a 5-byte string, skip 3, then grab 2 8-byte strings, then the rest &#40;$leading, $s1, $s2, $trailing&#41; = unpack&#40;&#34;A5 ×3 A8 &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/using-unpack-function-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/using-unpack-function-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace substring with string using perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/replace-substring-with-string-using-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/replace-substring-with-string-using-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:02:18 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8189</guid>
		<description><![CDATA[$string = &#34;This is what you have&#34;; print $string; substr&#40;$string, 5, 2&#41; = &#34;wasn't&#34;; # change &#34;is&#34; to &#34;wasn't&#34;]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/replace-substring-with-string-using-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get substring from string using perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/get-substring-from-string-using-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/get-substring-from-string-using-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 15:00:01 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8187</guid>
		<description><![CDATA[$string = &#34;This is what you have&#34;; # +012345678901234567890 Indexing forwards (left to right) # 109876543210987654321- Indexing backwards (right to left) &#160; $first = substr&#40;$string, 0, 1&#41;; # &#34;T&#34; $start = substr&#40;$string, 5, 2&#41;; # &#34;is&#34; $rest = substr&#40;$string, 13&#41;; &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/get-substring-from-string-using-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/get-substring-from-string-using-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access or modify substring using Perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/access-or-modify-substring-using-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/access-or-modify-substring-using-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 14:51:00 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8185</guid>
		<description><![CDATA[If developers want to access or modify just a portion of a string, the substring function in perl can be used. An example usage would be to read a fixed-width record and to extract the individual fields. The substr function &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/access-or-modify-substring-using-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/access-or-modify-substring-using-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here docs in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/here-docs-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/here-docs-in-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 00:21:06 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[heredoc]]></category>
		<category><![CDATA[multiline]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8183</guid>
		<description><![CDATA[&#8221;Here documents&#8221; are a way to quote a large chunk of text. The text can be interpreted as single-quoted, double-quoted, or even as commands to be executed, depending on how you quote the terminating identifier. Here we double-quote two lines &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/here-docs-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/here-docs-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quote operators in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/quote-operators-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/quote-operators-in-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 00:19:39 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[literal]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8181</guid>
		<description><![CDATA[We can specify strings in a perl program either with single quotes, double quotes using the quote-like operators q// and qq//, or &#8220;here documents.&#8221; $string = q/Jon 'Main' Deva/; # literal single quotes You can use the same character as &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/quote-operators-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/quote-operators-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defining strings and newlines in perl</title>
		<link>http://w3mentor.com/learn/perl/perl-string-manipulation/defining-strings-and-newlines-in-perl/</link>
		<comments>http://w3mentor.com/learn/perl/perl-string-manipulation/defining-strings-and-newlines-in-perl/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 00:16:02 +0000</pubDate>
		<dc:creator>madhu</dc:creator>
				<category><![CDATA[Perl string manipulation]]></category>
		<category><![CDATA[literal]]></category>
		<category><![CDATA[newline]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://w3mentor.com/?p=8177</guid>
		<description><![CDATA[The declaration below indicates two different characters, \ and an n. $string = '\n'; Declaring literal with single quotes $string = 'Jon \'Main\' Deva'; Double quotes interpolate variables and expand a lot of backslashed shortcuts: \n becomes a newline, \033 &#8230; <a href="http://w3mentor.com/learn/perl/perl-string-manipulation/defining-strings-and-newlines-in-perl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://w3mentor.com/learn/perl/perl-string-manipulation/defining-strings-and-newlines-in-perl/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-07 23:24:51 -->
