MySQL Forums
Forum List  »  Perl

Re: Perl Related Question
Posted by: Rick James
Date: November 24, 2009 11:34PM

$filename1=012945;
assigns a number to a scalar.
Using that scalar in a string context converts it to a string. You end up with
open(FILE1,"C:/Ritu/FastaSeqs/12945.CONSENS")
Note the missing '0'.

Solution: Call a string a string:
$filename1='012945';

Options: ReplyQuote


Subject
Written By
Posted
November 23, 2009 01:57AM
Re: Perl Related Question
November 24, 2009 11:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.