le names is from 3 position for characters,in this case is "1001" or "1002" or "1003"..
I'm not sure what I'm trying to do here..
#!perl -w $count = 0;
while () { if (substr($_,0,2) eq "10") { #If left 2 ++$count; $lines =
--
I have:
1)Solaris SunOS 5.8 SPARC
2)gcc-2.95
3)perl 5.005.03
Any suggestions?
Best regards,
Vitali Breida
Dear friends,
can anybody correct me...I have a text file.Data look like this:
10
20
20
20
20
10
20
20
10
20
20
20
and so one
-
while () {
if (substr($_,0,2) eq "10") { #If left 2 characters is 10,then
.
++$count;
$lines = 0;
op
Dear friends!
Please consult me!
How I must change the code ,so that "Raport page" prints on the begining of
file,not in the end?
Code reads the lines,count $env and $page and print those to the report
page...
Thank you,
VItali Pokrovski
--
Here is
Dear friends!
Please consult me!
How I must change the code ,so that "Raport page" prints on the begining of
file,not in the end?
Code reads the lines,count $env and $page and print those to the report
page...
Thank you,
VItali Pokrovski
--
Here is