Hi, Try this the first sequence u will get u can write it to abc file
o/p: GTM1_MOUSE GLUTATHIONE S-TRANSFERASE GT8.7 (EC 2.5.1.1 (217 aa) WFAGDKVTYVDFLAYDILDQYRMFEPKCLDAFPNLRDFLARFEGLKKISAYMKS-SRYIA TPIFSKMAHWSNKundef $/; open(IN, "d:\\xyz.txt") || die "Cannot open file\n"; $str = <IN>; if ($str =~ m#(.*?)\n\n#gsi) { $a=$1; } print $a;
Regards,
Gubendran.L
In reply to Re: Arrays and Files
by gube
in thread Arrays and Files
by FarTech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |