fork download
  1. #!/usr/bin/perl
  2. print "Enter the file: ";
  3. $file=<STDIN>;
  4. chomp($file);
  5. open(PROTEINFILE,$file);
  6. @protein=<PROTEINFILE>;
  7. close PROTEINFILE;
  8. print "@protein\n";
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Enter the file: