Click here to Skip to main content
15,886,806 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questionhide partition from places Pin
dcode2513-Mar-11 16:09
dcode2513-Mar-11 16:09 
AnswerRe: hide partition from places Pin
Albert Holguin28-Mar-11 18:03
professionalAlbert Holguin28-Mar-11 18:03 
AnswerRe: hide partition from places Pin
LloydA11116-Apr-11 12:07
LloydA11116-Apr-11 12:07 
Questionsend data Pin
Elham M12-Mar-11 7:12
Elham M12-Mar-11 7:12 
QuestionAnyone been able to get php5sctivescript working? Pin
Contensive6-Mar-11 4:19
Contensive6-Mar-11 4:19 
QuestionWhat ??? uses PHP Development PluginHooks, dual purpose comment, template, plugins to design application? Pin
toikken4-Mar-11 15:22
toikken4-Mar-11 15:22 
QuestionHow to get PHP to rename files Pin
Alschafer4-Mar-11 6:57
Alschafer4-Mar-11 6:57 
AnswerRe: How to get PHP to rename files Pin
nickmaroulis21-Mar-11 14:14
nickmaroulis21-Mar-11 14:14 
QuestionPHP applications on windows and linux Pin
Andrewnick202-Mar-11 20:49
Andrewnick202-Mar-11 20:49 
AnswerRe: PHP applications on windows and linux Pin
effayqueue19-Mar-11 2:42
effayqueue19-Mar-11 2:42 
GeneralRe: PHP applications on windows and linux Pin
nickmaroulis21-Mar-11 14:26
nickmaroulis21-Mar-11 14:26 
QuestionPassing variables to form in iframe Pin
Kyro Zetera2-Mar-11 5:57
Kyro Zetera2-Mar-11 5:57 
AnswerRe: Passing variables to form in iframe Pin
Kyro Zetera2-Mar-11 6:09
Kyro Zetera2-Mar-11 6:09 
GeneralRe: Passing variables to form in iframe Pin
nickmaroulis21-Mar-11 14:08
nickmaroulis21-Mar-11 14:08 
Questionhow to use temporary values Pin
kennyhibs27-Feb-11 15:06
kennyhibs27-Feb-11 15:06 
AnswerRe: how to use temporary values Pin
Tony Richards27-Feb-11 23:55
Tony Richards27-Feb-11 23:55 
QuestionAccessing local machine from web page Pin
pstsp91127-Feb-11 3:56
pstsp91127-Feb-11 3:56 
AnswerRe: Accessing local machine from web page Repost Pin
Richard MacCutchan27-Feb-11 6:26
mveRichard MacCutchan27-Feb-11 6:26 
AnswerRe: Accessing local machine from web page Pin
nickmaroulis21-Mar-11 14:34
nickmaroulis21-Mar-11 14:34 
QuestionHelp me please...!!!........ Pin
Hapyak25-Feb-11 23:07
sussHapyak25-Feb-11 23:07 
Dear all,
I am off because my program is not working. I tried to combine the three arrays of gene expression to get single array. Then I tried to get a subset of array from the single combined array. So I wrote the following code:

But the problem is this:
Use of uninitialized value $val in scalar chomp at C:\manoj_bioinform\expression.pl line 33, <DIAMIDE> line 8808.

Please help me what's wrong with my program..........!!! Frown | :(




#!/usr/bin/perl -w

#Open the three .txt file to the FILEHANDLE
#and create the arrays for all the three file
open (HYPEROSMOTIC, "hyperosmotic.txt")|| die "can't open the hyperosmotic file: $!\n";
@hyperosmotic = <HYPEROSMOTIC>;

open (HEATSHOCK, "heatshock.txt")|| die "can't open the file heatshock: $!\n";
@heatshock = <HEATSHOCK>;

open (DIAMIDE, "diamide.txt")|| die "can't open the file diamide: $!\n";
@diamide = <DIAMIDE>;

#store all the expression data on the three array
#into single @excomb array

@excomb = (@hyperosmotic,@heatshock,@diamide);

#print @excomb;

#loop to split each line from the @expdata into a new tiny array
#the columns of data in the original file are
#separated by tabs as denoted by the /\t/
#then save only the info from column 0 and 2 as separate variable
#also "chomp" each variable to remove unseen characters

foreach $excomb(@excomb)
{
@tarray=split(/\t/, @excomb);
$genename=$tarray[0];
$val=$tarray[1];
chomp $genename;
chomp $val;
}
print @tarray;
AnswerRe: Help me please...!!!........ Pin
jschell26-Feb-11 14:12
jschell26-Feb-11 14:12 
QuestionPHP Proksy ! Pin
I Believe In GOD25-Feb-11 8:48
I Believe In GOD25-Feb-11 8:48 
AnswerRe: PHP Proksy ! Pin
Elham M26-Feb-11 21:18
Elham M26-Feb-11 21:18 
AnswerNice Day! Pin
vonguyenthanhlong31-Mar-11 16:40
vonguyenthanhlong31-Mar-11 16:40 
GeneralRe: Nice Day! Pin
I Believe In GOD1-Apr-11 12:30
I Believe In GOD1-Apr-11 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.