By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,253 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,253 IT Pros & Developers. It's quick & easy.

Open Perl IDE How to specify path to the file to open in perl

P: 1
Hi,

I just joined to the world of Perl.

I am using the Open Perl IDE. in the following script do you know how I can set the path so, the program understand from where is should open the file. When I ran it I got the following message in console. "Entering open perl debugger, connecting to port 1378...connected. >Program terminated."

Thanks

Expand|Select|Wrap|Line Numbers
  1.  
  2. #! /usr/bin/perl -w
  3.  
  4. $proteinfilename = 'NM_0219664fragment.pep';.
  5. open (PROTEINFILE, $proteinfilename);
  6. $protein = <PROTEINFILE>;
  7. close PROTEINFILE;
  8. print "Here is the protein:\n\n";
  9. print $protein;
  10. exit;
Apr 1 '08 #1
Share this Question
Share on Google+
1 Reply


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi,

I just joined to the world of Perl.

I am using the Open Perl IDE. in the following script do you know how I can set the path so, the program understand from where is should open the file. When I ran it I got the following message in console. "Entering open perl debugger, connecting to port 1378...connected. >Program terminated."

Thanks

Expand|Select|Wrap|Line Numbers
  1.  
  2. #! /usr/bin/perl -w
  3.  
  4. $proteinfilename = 'NM_0219664fragment.pep';.
  5. open (PROTEINFILE, $proteinfilename);
  6. $protein = <PROTEINFILE>;
  7. close PROTEINFILE;
  8. print "Here is the protein:\n\n";
  9. print $protein;
  10. exit;

Sorry, I don't know the answer but hopefully one of our experts will be able to assist you.

My appologies for the delay in getting an answer to your question.

Regards,

Jeff
Apr 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.