Hi friends, I have one query about getting the input from the angle brackets ie from a file-handler within the angle brackets. ... #!/usr/bin/perl use strict; ...
... ie from a file-handler within the angle brackets. ... be $line now. But it is not. ... angle brackets? Do we get the data only at the beginning of the...
21343
Brad Lhotsky
brad@...
Jul 6, 2005 3:19 pm
perl does automatic garbage collection, but the structures have to go out of scope. This is why you'll usually hear people recommend that you declare a...
Hi Brad Thanks for such a comprehensive answer and for spending so much time on my humble question. I was opening multiple files. Each file has an undefined...
21345
M. Lewis
cajun@...
Jul 7, 2005 3:59 am
... Sreeram, Damien's comments are right on. I'm not sure where you are in your learning process. If you're trying to learn to open files, then this comment...
Hi friends, I am a bit confused in the usage of the: use strict; module and the global variables. How should I declare a variable as a global variable so that...
Hi friends, I would wish to achieve the following file operation: ... Welcome, I welcome you to the world of perl !! Have a good time !! Thanks ! ... Welcome, ...
... My first question would be: Why use a global variable? (Followed closely by: Why use subroutine prototypes?) Contents of global.h: #!/usr/bin/perl use...
... file as original. But, I would not prefer that method. I would wish to open the file in read-write mode and insert the "Hello world" line after...
21350
Brad Lhotsky
brad@...
Jul 7, 2005 2:13 pm
Please don't post homework here. As Randal has stated COUNTLESS times, its disrespectful and counterproductive to the entire classroom environment. ... -- ...
Hello Brad, I would not agree with your statement that this is a "homework". I have made all efforts to solve my problem and even then if I dont get a...
... Read perldoc -f seek perldoc -f tell The problem is that if you do seek somewhere into the middle of the file and print something you are going to...
Greetings, I'm not sure where to turn for an answer. I have a report that I need to print remotely, in three different locations. My system administrator...
21354
Brad Lhotsky
brad@...
Jul 8, 2005 3:42 pm
The wording of your question seemed like a handout from class. If its not homework, then apologies. ... -- Brad Lhotsky...
hi, i can't seem to get some programs running from my MS IEE, but they run fine from the Command prompt. (i'm using Xampp on Windows XP). for example i have...
Cygwin doesn't release Tk with Perl. I've tried to compile Tk-804.027 from CPAN and am running into difficulties. Is there a Cygwin compatible binary release...
Hi. I'm compiling a list of possble english words that do (or do not yet) exist. I have a program that recursively builds all the combinations of letters A-Z...
hi, i want to extract some PDB ID but ,since they are large in number so i want to write a perl script ,but i don't kow hoe to extract any data from...
use LWP::UserAgent would be coded into something like this: use strict; use LWP::UserAgent; my $url = 'http://www.google.com/' my $ua = LWP::UserAgent->new; my...
And, this is related to Perl in what way? Is this written in Perl? A word of advice in the future when writing programs you think are going to take awhile....
21363
Paul Archer
tigger@...
Jul 11, 2005 3:29 pm
First, your math is off. If you're looking for any combo that is 1-5 characters long you're actually going to end up with a list this long: 26 + 26x26 + ...
I 'm writing a program that read files reading individual lines using a special separator instead of the new line character because I'm having a hard time...
actually, first of all i want to go PDB website then after getting Protein Id i want to see it correspoding "scop" file then i have to extract that page so...
21367
Paul Archer
tigger@...
Jul 11, 2005 7:54 pm
As a suggestion, try reading "Perl for Bioinformatics" -- although you may want to start with Learning Perl". While this is a "beginners" mailing list, it's...
hello, I'm definitely new at this and I think this must be a quick solution in my regex, which I've pasted below. It works, except for the last 2 lines, where...
Here's the regex for the "first two words." /^(\w+ ){2}/ So you probably want s/^(\w+ ){2}//; Take note tho that \w doesn't recognize punctuations part of a...