Search Results

Showing results 1 to 3 of 3
Search took 0.02 seconds.
Search: Posts Made By: Comatose ; Forum: Perl and child forums
Forum: Perl Mar 4th, 2009
Replies: 3
Views: 667
Posted By Comatose
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
Posted By Comatose
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
Posted By Comatose
#!/usr/bin/perl

while ($uinput ne "quit") {
print "# "; $uinput = <>;

chomp($uinput);

if ($uinput eq "ls") {
open(LS, "ls -AF1 |");
...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC