Hello friends, I have one task to be achieved. The task is as follows: (a) Ask for user to input a long word having '_' (underscore) embedded in it. (b) Now,...
... If you are *sure* the first character after a '_' is going to be a letter, your approach is fine. Otherwise, you'll need to work a little harder. If you...
Dear All I need a free graphical software for PERL. Please any body let me know about it . Thank Mirza Abdullah Jan ... Hello Jeff, Thanks for the detailed...
... (?:...) is like (...) in that it groups a bunch of regex pieces together as a unit, so you can say /a(?:bc)+/ and it'll match "abc", "abcbc", "abcbcbc",...
Hi, Been working on picking up perl for cgi type stuff, and while I have the basics down, I cannot seem to figure out what I believe should be a relatively...
Greetings! I'm having what I assume is another "stupid newbie problem" and would really appreciate any help understanding it. The script below is only supposed...
... Did you read the documentation for the index() function? It returns -1 if the substring wasn't found in the string, NOT 0. ... You don't want next if (not...
... From: Jeff 'japhy' Pinyan To: perl-beginner@yahoogroups.com Sent: Saturday, December 03, 2005 2:31 PM Subject: Re: [PBML] Problem with 'if' evaluation ... ...
... Jonathan> I don't know where you got the idea I'm trying to sum anything. Jonathan> Did you look at my question? Sorry, I ignored your code, because it had...
... From: "Randal L. Schwartz" <merlyn@...> To: "Jonathan Mangin" <jon.mangin@...> Cc: <perl-beginner@yahoogroups.com> Sent: Monday,...
Jonathan Mangin
jon.mangin@...
Dec 5, 2005 4:21 pm
22345
I'm wondering if I have perl installed correctly. The script below prints 'Hello world!", and *only* that. #!/usr/bin/perl -w use warnings; $TestString="Hello...
... Bill> I'm wondering if I have perl installed correctly. Bill> The script below prints 'Hello world!", and *only* that. Bill> #!/usr/bin/perl -w Bill> use...
... When you included the "use strict" pragma variables must be declared via "use vars" or localised via "my" or be fully-qualified (package name) URL:...
J.E. Cripps
cycmn@...
Dec 5, 2005 5:39 pm
22348
... What should the data in %val look like? I assume you have confused the array starting index as 0 and as 1 at various points of your code. I also assume...
Here is the source from a hangman game I just coded. To run you'll have to install Color::Output.pm. Any critiques are always nice. #/usr/bin/perl use strict; ...
It's true enough, I have a hard time asking questions properly owing to wide and deep ignorance. I include a snippet of table only to show "normalized"...
Jonathan Mangin
jon.mangin@...
Dec 5, 2005 9:05 pm
22352
Robin, this is a nice program. Some things I would change, though, are: 1.) Don't ask the user for a word. Instead, pick a word at random from the machine's...
Cy Kurtz
ckurtz11@...
Dec 5, 2005 11:08 pm
22353
... You can become less ignorant by learning. Many of traits needed for asking good questions are also the traits needed to be a good programmer. ...
Hi, I have two quries. If any one has idea about it, then please reply me. First Query ---- $ref is reference. How can i know that this is reference of hash or...
I have a query that returns data like this: date time class type val1 val2 time_format(time,'%H%i') 2005-08-01 04:02:00 A O...
Jonathan Mangin
jon.mangin@...
Dec 6, 2005 2:11 pm
22356
... Prasanna> $ref is reference. How can i know that this is reference Prasanna> of hash or reference of array. It's a bad design to not know. But if you...
Dear Members, I have an interview for Perl programmer. Can anybody give me where i can get a quick look of perl interview questions. Even though i am working...
Dear Member, I have a regular expression. How can i find the no.of matchings of the regular expression. First, Second ...matchings i know as $1,$2... Regards...