in reply to missing outputs

foreach (@valar1) { my ($ver2) = $_ =~ m/(v09.10-[a-z]\d{3})/; print "$ver2\n"; last; }

Due to the last, you are only checking the first line in your array. You probably want to execute the last only if your match was successful.

HTH, Rata

Replies are listed 'Best First'.
Re^2: missing outputs
by blackgoat (Acolyte) on Mar 10, 2010 at 10:42 UTC
    yes... yes... I got it..Thank you!!
Re^2: missing outputs
by blackgoat (Acolyte) on Mar 11, 2010 at 05:12 UTC
    My script is working now and giving me 3 outputs. I want to use these outputs in another perl script that has an html page in which I want these outputs to be displayed. I cant figure out how should I do this...
Re^2: missing outputs
by blackgoat (Acolyte) on Mar 10, 2010 at 10:37 UTC
    yes u r right...but how do i achieve that?