<br>
Is there a one line way to slurp a file into an array?<br>
<br>
Instead of <br>
open(FILE, "file") ¦¦ warn "couldn't open file";<br>
@array = <FILE>;<br>
close(FILE);<br>
<br>
I would like to <br>
@array = <"file">;<br>
<br>
I know, it's just a...
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...
Another for loop that I would like to know why it does what it does....<br>
<br>
102: $pfile = "/usr/local/test/testfile";<br>
... <br>
434: # make sure a path to $pfile exists.<br>
435: @p = split('/', $pfile);<br>
436: BUILDPATH: for ($d = "/" . shift(@p)...
<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 < $l, $sl = length($s)) {<br>
<br>
but what I wrote was<br>
<br>
$s =...
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>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.