Hi, Gentgeen, that perl program with @rows=&lt;&gt; must be run with a redirect ( &lt; ) on the command line, like:<br><br>perl oldformat2rt.pl &lt;datafile<br><br>That&#39;s how the &lt;&gt; operator will receive its input from datafile.&nbsp; Without the &#39;&lt;datafile&#39; on the command line, &lt;&gt; will receive nothing, so @rows will be empty.
<br><br>Mack Rhinelander<br><br><div><span class="gmail_quote">On 3/22/07, <b class="gmail_sendername">Gentgeen</b> &lt;<a href="mailto:gentgeen@linuxmail.org">gentgeen@linuxmail.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 20 Mar 2007 10:10:39 -0400<br>Gentgeen &lt;<a href="mailto:gentgeen@linuxmail.org">gentgeen@linuxmail.org</a>&gt; wrote:<br><br>&gt;<br>&gt; I need a bit of help changing a tab-delimited document (.tsv file)<br>&gt; into a special format so I can import it into our trouble ticket
<br>&gt; system (RT).<br><br>I just wanted to get back to everyone that helped and say &quot;Thank you&quot;.<br><br>I actually tried all three of the scripts that were sent.&nbsp;&nbsp;I did have a<br>problem with <a href="mailto:UUSWCMMHKFQU@spammotel.com">
UUSWCMMHKFQU@spammotel.com</a> suggestion, but the other two<br>worked &quot;out of the box&quot;.&nbsp;&nbsp;It was giving me an error about the first line<br>- &quot; @rows = &lt;&gt;; &quot;<br><br>I will be looking into the Perl books, and thanks again for the heads up
<br>on the LUG discount.<br><br>This is the perfect example as to why I love linux... think I need to<br>note this thread so I can show to my &quot;non-believer&quot; friends.<br><br><br>--<br><a href="http://gentgeen.homelinux.org">
http://gentgeen.homelinux.org</a><br><br>#############################################################<br> Associate yourself with men of good quality if you esteem<br> your own reputation; for &#39;tis better to be alone then in bad
<br> company.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- George Washington, Rules of Civility<br>_______________________________________________<br>wplug mailing list<br><a href="mailto:wplug@wplug.org">wplug@wplug.org</a><br><a href="http://www.wplug.org/mailman/listinfo/wplug">
http://www.wplug.org/mailman/listinfo/wplug</a><br></blockquote></div><br>