Forum: Perl Mar 4th, 2009 |
| Replies: 3 Views: 667 I would make the .pl file, look for a temp file. Something like clpdata.dat or something, and have perl write the entry to the temp file. Then, I would have it scan the process list for other... |
Forum: Perl Mar 1st, 2009 |
| Replies: 2 Views: 1,257 The problem is, the method you use to read from the file handle, slurps the file, and then iterates over each line by replacing $line with $_. If you really want to prove this, you can throw the... |
Forum: Perl Oct 7th, 2006 |
| Replies: 1 Views: 28,094 #!/usr/bin/perl
while ($uinput ne "quit") {
print "# "; $uinput = <>;
chomp($uinput);
if ($uinput eq "ls") {
open(LS, "ls -AF1 |");
... |