HI,
I use the command plot in Perl to draw a graph:
plot "data.txt" using (\$1/3600):(\$2) with lines, "data2.txt" using
(\$1/3600):0 with points lt 3
I am not vey clear with the variables $1 and $2. I did not define them in my
file, what are they?
"with points lt 3" how can find more informati
Hi,
there is a clause in perl program which assigns two variables with values
from a file.
my ($t, undef, $i)=/t: ((\d|\.)+)\s.*?i=((\d|\.)+)/;
What does "undef" mean in the above clause?
Which value will be assigned to $t and $i? in the place \d? or some value?
Thanks,
Wenpeng
Hi,
I compiled a simple program with perl. But I ran into some problems.
sh: campusUnderAttack.out: bad number
I try to execute a program and input the result to antother file
"campusunderAttack.out"
like this:
#!/usr/bin/perl
#
# Run campus scenario and plot result
#
#run 'campus network under