Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kaih
  • Content: Threads
  • Order by date
  1. kaih

    slurping files quickly

    <br> Is there a one line way to slurp a file into an array?<br> <br> Instead of <br> open(FILE, &quot;file&quot;) ¦¦ warn &quot;couldn't open file&quot;;<br> @array = &lt;FILE&gt;;<br> close(FILE);<br> <br> I would like to <br> @array = &lt;&quot;file&quot;&gt;;<br> <br> I know, it's just a...
  2. kaih

    Looking for unix print queue (NOT spooler)

    I am looking for an honest to goodness managable print queue for unix. The lpsched spooler is not sufficiently reliable for some of our applications and I have to jump through hoops to let anyone besides root manage it.<br> <br> I really like LP Plus by Plus Technologies (<A...
  3. kaih

    next "for" question

    Another for loop that I would like to know why it does what it does....<br> <br> 102: $pfile = &quot;/usr/local/test/testfile&quot;;<br> ... <br> 434: # make sure a path to $pfile exists.<br> 435: @p = split('/', $pfile);<br> 436: BUILDPATH: for ($d = &quot;/&quot; . shift(@p)...
  4. kaih

    for loop exits incorrectly

    <br> Platform is perl 5.005.03 on AIX 4.1.5.<br> <br> I wrote a for loop incorrectly and it almost worked, which caused me some grief. Why does this loop exit?<br> <br> I meant to write <br> for ($sl = length($s), $sl &lt; $l, $sl = length($s)) {<br> <br> but what I wrote was<br> <br> $s =...
  5. kaih

    LANG error messages starting perl

    I got the source for perl 5.005.003 and built it on our aix development box. It runs fine there. But when I take the package and install it on our other aix boxes, on some of them it says: <br> perl: warning: Setting locale failed. <br> perl: warning: Please check that your locale settings: <br>...

Part and Inventory Search

Back
Top