Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: remove 16 Zerosby eghdam (Initiate) |
on Oct 13, 2015 at 11:49 UTC ( [id://1144678]=note: print w/replies, xml ) | Need Help?? |
Hi! Yes thank u for Response. PVID is allways 32 Charachters. My Script is: @output =`command` # Output looks like 7 lines and on line is the pvid: pvid 00c1be9a467335ce0000000000000000 foreach $line (@output) { if ($line =~ /pvid ..... here i want to grep only the 32 charachters $pvid = $1 } i just want to get the $pvid.
In Section
Seekers of Perl Wisdom
|
|