Please respond if you would be interested in a 6 month contract to hire opportunity in the Northern Suburbs of Colorado. Will consider a Jr Level Perl...
26268
Louis-Philippe
l0u1sph1l1ppe@...
Jul 10, 2008 5:01 pm
Hi Ramesh, I don't know if its shorter, but here's an other way to do it: _______________________________________________ #!/usr/bin/perl -w use strict; use...
26269
Jenda Krynicky
jendaperl
Jul 10, 2008 7:30 pm
From: Louis-Philippe <l0u1sph1l1ppe@...> ... It's no longer necessary. You can use a (lexical) variable wherever you need a filehandle. Without...
26270
Louis-Philippe
l0u1sph1l1ppe@...
Jul 10, 2008 7:59 pm
I had read that somewhere about the filehandle in a lexical variable... but I am usually conservative about changing ways when something works! so thanks...
26271
shanniknite
Jul 11, 2008 2:33 am
I have no clue of how to write cgi scripts. Can someone tell me and explain to me how to write the following Alaska was the 49th state to sign the...
26273
sruthi6656
Jul 14, 2008 12:30 pm
Learn new techniques & concepts. Stanford Computer Security Program http://computernetwork-maya.blogspot.com work @ home online ...
26274
ramesh.govinda
Jul 15, 2008 5:39 am
Hi LP , Thanks for your advice. I have a small problem with my code. I have a text file z.txt with following lines *transformation X Y Z 10 20 30 Finally i...
26275
Jeff Shu
santa98bn
Jul 15, 2008 2:08 pm
Hi everyone: I wrote a function to check even number. inside the subroutine I return '1' if the number is even, otherwise return '0'. a) I did some search,...
26276
Peter L. Berghold
blue_cowdawg
Jul 15, 2008 2:19 pm
... Hash: SHA1 ... any non-zero value is considered a true. ... That will not evaluate the value inside the array @_ but the number of elements in it. You are...
26277
jiqiang yao
jiqiang123@...
Jul 15, 2008 2:47 pm
Hi, everybody: I am reading all the data from a table, the following is my code. I got a warning message of "use of uninitialized value at the line marked with...
26278
Jenda Krynicky
jendaperl
Jul 15, 2008 2:56 pm
From: "Jeff Shu" <santa98bn@...> ... @_ or @array evaluates to the length of the array in scalar context. Try sub foo { my $x = @_; print "foo($x)\n"; } ...
26279
Jenda Krynicky
jendaperl
Jul 15, 2008 2:56 pm
From: "Peter L. Berghold" <peter@...> ... That's not exactly true. '0E0' or even '0 but true' both evaluate to zero in numerical context, even without...
26280
Jenda Krynicky
jendaperl
Jul 15, 2008 2:58 pm
From: jiqiang yao <jiqiang123@...> ... I bet it's actually the next line. Where do you assign to the $SNP_ID variable? Where did you actually...
26281
jiqiang yao
jiqiang123@...
Jul 15, 2008 3:13 pm
Sorry, next line $SNP_ID is a typo, it should be $ID ... From: Jenda Krynicky <Jenda@...> Subject: Re: [PBML] use of unitialized value To:...
26282
Dukelow, Don
dondukelow
Jul 15, 2008 3:45 pm
I'm tring to read a binary file using code out of the Perl Cook Book. #! /usr/bin/perl use warnings; use strict; use IO::Seekable; use open IO => ":raw"; my...
26283
merlyn@...
merlynstoneh...
Jul 15, 2008 4:49 pm
... Dukelow,> It reads the first line OK, and I'm guessing something changes after that. So all I get is garbage. "binary" usually looks like garbage. What...
26284
Louis-Philippe
l0u1sph1l1ppe@...
Jul 15, 2008 5:30 pm
Hi Ramesh, I do not get your idea totally... Do you want to get the block of 3 lines 2 times in the result? also, I don't understand what you try to achieve...
26285
Sylvain Pascal
sylvainpascal
Jul 16, 2008 9:43 am
Hi all, well, I suppose, another response can be: #!\usr92;bin\perl use warnings; use strict; open (IN,'+<','z. txt'); my @file = <IN>; map {$_=~ s(10 20 30)(50...
26286
merlyn@...
merlynstoneh...
Jul 16, 2008 3:54 pm
... Sylvain> map {$_=~ s(10 20 30)(50 60 80); print IN, $_;} @file; Please don't use map in a void context. Please don't alter $_ within the map. If you're...
26287
Louis-Philippe
l0u1sph1l1ppe@...
Jul 16, 2008 9:19 pm
Damn! I thought your alternative was elegant Sylvain! ... seems like the wizard knows whats behind the map magic! ;) L-P ... Sylvain> map {$_=~ s(10 20 30)(50...
26288
merlyn@...
merlynstoneh...
Jul 16, 2008 11:05 pm
... Louis-Philippe> Damn! I thought your alternative was elegant Sylvain! Louis-Philippe> ... seems like the wizard knows whats behind the map magic! ;) Well,...
26290
Louis-Philippe
l0u1sph1l1ppe@...
Jul 17, 2008 6:11 pm
... ============Forwarded Mail============ From : l0u1sph1l1ppe@... To : merlyn@... Date :Thu, 17 Jul 2008 14:10:33 -0400 Subject : Re:...
26291
Louis-Philippe
l0u1sph1l1ppe@...
Jul 17, 2008 6:30 pm
mmm, yes... thats what I thought at first sight, but look at his code, Ramesh is doing a lots of hoops counting iterations for someone who wants to change...
26292
Ramesh Govinda
ramesh.govinda
Jul 17, 2008 9:44 pm
Hi Philippe, Sorry for the delayed reply. I would clear my problem, Actually i am writing a script to edit the input file from LS Dyna. The input file are...
26293
merlyn@...
merlynstoneh...
Jul 17, 2008 10:06 pm
... Ramesh> Now i have a new query, instead of directly replacing the values, i Ramesh> want to replace the line mathematically Ramesh> eg: I need to write...
26294
manadas1
Jul 18, 2008 2:09 am
Sqlsumit.com is your gateway to sites on the internet for tutorials and trainings!Browse our resources or just try the search http://sqlsumit.com/...
26295
Anil Kumar BN
bnanilgowda
Jul 18, 2008 11:24 am
Dear All I have one problem in converting table below, give me some idea or logic how to solve it in perl. <r><c rspan="2"></c><c></c></r> <r><c></c><c...
26296
merlyn@...
merlynstoneh...
Jul 18, 2008 2:54 pm
... Anil> I have one problem in converting table below, give me some idea or logic Anil> how to solve it in perl. It's not clear whether you are generating the...
26297
Chongjian Chen
biochan@...
Jul 18, 2008 3:15 pm
Hi, I tested the following script in my system, it came out "AAAA". ... $i=534518; $j=534517.6; if (($i-$j)*10>4){ print "AAAA92;n"; } ... my perl version:...
26298
merlyn@...
merlynstoneh...
Jul 18, 2008 3:21 pm
... Chongjian> Does anyone know what the problem is? The FAQ is useful to read. Please read it once a week until you no longer need to read it. On this...