<?xml version="1.0" encoding="windows-1252"?>
<node id="54197" title="perl T-shirt and #!/usr/bin/perl -T conflict" created="2001-01-25 02:45:36" updated="2005-08-11 05:54:21">
<type id="11">
note</type>
<author id="22308">
dws</author>
<data>
<field name="doctext">
When I first saw this thread in [Newest Nodes], I misread it as
&lt;blockquote&gt;
&lt;b&gt;perl T-shirt and #!/usr/bin/perl -T conflict&lt;/b&gt;
&lt;/blockquote&gt;
(I'd recently seen [jima]'s note about the nifty &lt;a href="http://www.perlmonks.com/index.pl?node_id=53714&amp;lastnode_id=3989"&gt;Camel T-shirt&lt;/a&gt;, and probably hadn't had enough sleep.)
&lt;p&gt;
But I wonder, doesn't a t-shirt that reads
&lt;blockquote&gt;&lt;b&gt;
&lt;code&gt;#!/usr/bin/perl -w
use strict;&lt;/code&gt;&lt;/b&gt;
&lt;/blockquote&gt;
cover only two of the four most common bits of advice handed out here? Wouldn't a truly monastery-compliant t-shirt begin
&lt;blockquote&gt;&lt;b&gt;&lt;code&gt;#!/usr/bin/perl -Tw
use strict;
use CGI;  # don't reinvent the wheel
&lt;/code&gt;&lt;/b&gt;&lt;/blockquote&gt;
And then, on the back
&lt;blockquote&gt;&lt;b&gt;&lt;code&gt;
(*)++  ( )--  ( )+= 0
&lt;/code&gt;&lt;/b&gt;&lt;/blockquote&gt;
</field>
<field name="root_node">
54086</field>
<field name="parent_node">
54086</field>
</data>
</node>
