... Small correction: If I change the line to 'sub factor {' it works... ... ______________________________________________________________________ ...
Paul Archer
tigger@...
Jan 1, 2005 2:03 pm
20225
Greetings! A new site of projects/bids has been opened recently: http://www.RainbowJ.com If you are owner of software company or freelancer this site may help...
We have some programs where we use the graphs. The trick is to just keep playing with all of the settings until we achieved the look that we wanted. Here is a...
Hi all, I want to find occurance of #ifdef and #ifndef in a directory containing many c sourcefiles. It shuld print the result of each file plus a logfile...
im trying to create a perl script to submit a form to my website which is hosted by yahoo. i have the right script version according to yahoo v1.92 but I have...
Hang in there. We have all been where you have been. You will be OK. While you are trying to calm down (dying is pretty rough place to be), and before you...
A very happy new year to all, I posted this on another Perl forum yesterday; got no replies though - perhaps it's trivial? I'm getting some unexpected output...
... You should firstly turn on warnings and use strict. With warnings you would see that %modulelist is used only once. There is no need for the LABLE1 label. ...
hi, What u have suggested to me is right..!!! I have already tried this and is working fine. But problem comes when i wan to generat a log of total occurance. ...
... and is working fine. ... three files file1.c,file2.c and file3.c. ... the file separately. Thats ok. ... mean in all files...this is happening. So addition...
Please chekout the following output of the script which is not what i require...!!! Enter the directory name: test file1: test/cmh_ccr.c #ifdef FAX_AND_DATA -...
... i require...!!! ... file. for example the match found in file1 are also reapiting in file2 and also adding its own match. The log file is correct in this...
... Scot> Now go buy "Learning Perl" by Randal Schwartz. And don't forget its sequel: "Learning Perl Objects, References, and Modules", picks up right where...
Sorry folks, I changed the agent and excluding [PBML] br/mfg, christian Continental AG FDV Stöcken, Geb.33/1 Jädekamp 30 D-30519 Hannover Phone: +49 511 976...
Hello, Is there any function or package to convert strings to upper case and lower case? Thanks a lot -Raghuram ... P.Raghu Ram Murthy, M-tech (Computer...
... Try something like this: my $string = 'some InaNe Mix of LoWer and UPPER caSE'; my $lower_case = lc($string); my $upper_case = uc($string); That should...
Hello, Can anyone please tell me the way I can pass an array to a subroutine? It would be great if any code snippet is also provided? Regards, Lakshmi...
lakshmi.sailaja@...
Jan 5, 2005 11:53 am
20245
This is worked. Thanks a lot. -Raghuram ... P.Raghu Ram Murthy, M-tech (Computer Science), Member, Information Technology, D E Shaw India Software Private...
You can pass an array to a sub routine in two ways. One is passing entire array and another is passing the array reference. Passing array: sub give_me_array { ...
Hello, This is an addendum to my below question. I need to pass 2 strings along with an array to the subroutine. Regards, Lakshmi ... From: Lakshmi Sailaja...
lakshmi.sailaja@...
Jan 5, 2005 12:00 pm
20248
Hello Raghuram, Can you please illustrate the below example by passing 2 strings along with the array to the subroutine? Regards, Lakshmi ... From: Raghu Ram...
lakshmi.sailaja@...
Jan 5, 2005 12:01 pm
20249
sub xxx { my ($str1, $str2, @arr) = @_; } my @arr = (1, 2, 3); xxx("aaa", "bbb", @arr); ... P.Raghu Ram Murthy, M-tech (Computer Science), Member, Information...
hello, maybe ucfirst // lcfirst could help in some cases too. as is in perlfunc -> uc / lc / ucfirst / lcfirst ucfirst EXPR ucfirst Returns the value of EXPR...
Spectroman
spectroman@...
Jan 5, 2005 1:31 pm
20252
Hello, As per your suggestion, I am to generate the correct output if used in ... my @arr = (1, 2, 3); xxx(@arr, "aaa", "bbb"); sub xxx { my ($str1, $str2,...