<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: perl question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343292#M191127</link>
    <description>Looks like it generating a print statmement for another language. ${tab}, $1, $ct, and ${marker} will be replaced with whatever their current values are. The \n before the ) is odd, since it will put the ) on the next line. The \q\q would generate 2 " marks.&lt;BR /&gt; &lt;BR /&gt;What else do you need explained?&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
    <pubDate>Mon, 16 Sep 2024 09:30:44 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2024-09-16T09:30:44Z</dc:date>
    <item>
      <title>perl question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343291#M191126</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Can anyone explain what the print statement below means :-&lt;BR /&gt;&lt;BR /&gt;print "print \q\q\(${tab}before $1 loop line $ct\)\;${marker}\n)";&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 28 Jul 2004 08:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343291#M191126</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-07-28T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: perl question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343292#M191127</link>
      <description>Looks like it generating a print statmement for another language. ${tab}, $1, $ct, and ${marker} will be replaced with whatever their current values are. The \n before the ) is odd, since it will put the ) on the next line. The \q\q would generate 2 " marks.&lt;BR /&gt; &lt;BR /&gt;What else do you need explained?&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 16 Sep 2024 09:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343292#M191127</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2024-09-16T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: perl question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343293#M191128</link>
      <description>For *my* perl's it does do nothing, since \q is *NOT* a recognized escape&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;--- xx.pl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;&lt;BR /&gt;my $tab = "\t";&lt;BR /&gt;"some string match on some pattern" =~ m/(match)/;&lt;BR /&gt;my $ct = "CT";&lt;BR /&gt;my $marker = "##";&lt;BR /&gt;&lt;BR /&gt;print "print \q\q\(${tab}before $1 loop line $ct\)\;${marker}\n)";&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;lt09:/tmp 127 &amp;gt; perl xx.pl&lt;BR /&gt;Unrecognized escape \q passed through at xx.pl line 11.&lt;BR /&gt;Unrecognized escape \q passed through at xx.pl line 11.&lt;BR /&gt;print qq(       before match loop line CT);##&lt;BR /&gt;)lt09:/tmp 128 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;the qq() operator acts as double quoted strings, and the generated string reminds me of postscript if that is of any help&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 28 Jul 2004 08:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343293#M191128</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-07-28T08:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: perl question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343294#M191129</link>
      <description>You're right about the \q (I think I'm remembering some other system), but without the warn/restrict you just get a "q".&lt;BR /&gt; &lt;BR /&gt;Now that you mention it it does kind of look like postscript code...&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 28 Jul 2004 09:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343294#M191129</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-07-28T09:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: perl question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343295#M191130</link>
      <description>It's producing perl code:&lt;BR /&gt;&lt;BR /&gt;perl -e '$tab=TAB;$one=DOLLARONE;$ct=CT;$marker=MARKER;print "print \q\q\(${tab}&lt;BR /&gt;before $one loop line $ct\)\;${marker}\n)";'&lt;BR /&gt;&lt;BR /&gt;print qq(TABbefore DOLLARONE loop line CT);MARKER&lt;BR /&gt;&lt;BR /&gt;what else is the program doing?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 28 Jul 2004 09:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-question/m-p/3343295#M191130</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-07-28T09:12:47Z</dc:date>
    </item>
  </channel>
</rss>

