Search Results

Search: Posts Made By: free2rhyme2k
2,860
Posted By free2rhyme2k
using threads in perl
Hi everyone,

I am trying to create a script which runs a number of processes simultaneously and at the same time use a timer to keep track of what is going on.

The problem is that the timer...
3,784
Posted By free2rhyme2k
[solved] using backticks to call bash from perl
Hi all,

Here is my code:
my $x = `bash -c \" ls -l filename | awk '{print \$5}'\"`;
print "$x\n";

This will run the first part of the bash script but not the awk command. It therefore gives...
2,651
Posted By free2rhyme2k
Thanks buddy. I'll have a look at that over the...
Thanks buddy. I'll have a look at that over the weekend.
2,651
Posted By free2rhyme2k
accessing variable from while loop
Hi all,

Here is an outline of the problem:



#variable declared at start of script
x=0;

#a function that increments x by 1 every 10 seconds
incrementX(){
increments x every 10 seconds;...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy