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

Linux, Apache, MySQL, PHP

 
GeneralRe: What's python's claim to fame? Pin
Anonymous3-Apr-09 12:04
Anonymous3-Apr-09 12:04 
GeneralRe: What's python's claim to fame? Pin
Anonymous24-Apr-09 17:17
Anonymous24-Apr-09 17:17 
Questionkernel programing in linux Pin
gulavaniashish11-Sep-08 23:44
gulavaniashish11-Sep-08 23:44 
QuestionDot Net Framework for Linux Platform Pin
Lakul5-Sep-08 23:07
Lakul5-Sep-08 23:07 
AnswerRe: Dot Net Framework for Linux Platform Pin
avdesh1225-Sep-08 10:29
avdesh1225-Sep-08 10:29 
AnswerRe: Dot Net Framework for Linux Platform Pin
DevMentor.org24-Oct-08 18:00
DevMentor.org24-Oct-08 18:00 
QuestionPopulation of the BPB in MBR Pin
Franz Klein5-Sep-08 8:51
Franz Klein5-Sep-08 8:51 
Questionperl loop issue Pin
rdx128-Aug-08 23:16
rdx128-Aug-08 23:16 
i have this perl code which is not working for some reason-
#!/usr/bin/perl

open(IN1, "< t1");
open(IN2, "< t");
open(out, "> bond_pad.tcl");
while (<in1>) {
if(/(.*)bp_(.*)/) {
chomp;
@array1=split(/ /);
print " first: $array1[0]\n";
while (<in2>) {
chomp;
if(/(.*)bp_(.*)/) {
@array2=split(/ /);
print " sec: @array2 $array2[3]\n";
while (($_=<in2>) !~ /(.*)echo_status(.*)/) {

if($array1[0] eq $array2[3]) {
if (/(.*)origin(.*)/) {
$_=~ s/(.*)origin(.*)/\1 origin $array1[1] $array1[2]/;
print ;
} else {
print ;
}
}

}

}
}

}
}
close (IN1);
where file t1 contains :
{"bp_left_2"} {-70 401}
{"bp_left_1"} {-70 321}
{"bp_left_0"} {-70 241}

and file t contains:
set obj [get_mark {"bp_left_0"} -all]
attribute $obj origin {38.000 269.000}
attribute $obj echo_status echo

set obj [get_mark {"bp_left_1"} -all]
attribute $obj origin {38.000 349.000}
attribute $obj echo_status echo

set obj [get_mark {"bp_left_2"} -all]
attribute $obj origin {-38.000 429.000}
attribute $obj echo_status echo
the code is changing numbers for one of the match and not for all matches in file t, plz help
AnswerRe: perl loop issue Pin
jschell22-Mar-09 9:31
jschell22-Mar-09 9:31 
AnswerRe: perl loop issue Pin
Member 38111902-Sep-09 1:45
Member 38111902-Sep-09 1:45 
Questionphpmailer Error (Could not instantiate mail function)? Pin
Mohammad Dayyan28-Aug-08 11:17
Mohammad Dayyan28-Aug-08 11:17 
AnswerAnswer of this error : Pin
Mohammad Dayyan29-Aug-08 12:21
Mohammad Dayyan29-Aug-08 12:21 
Questionfedora 8 pgadmin3 Pin
omer erakman26-Aug-08 0:07
omer erakman26-Aug-08 0:07 
QuestionWhat's the meaning of & sign here ? Pin
Mohammad Dayyan22-Aug-08 12:33
Mohammad Dayyan22-Aug-08 12:33 
AnswerRe: What's the meaning of & sign here ? Pin
luayessa24-Aug-08 1:57
luayessa24-Aug-08 1:57 
GeneralRe: What's the meaning of & sign here ? Pin
Mohammad Dayyan24-Aug-08 10:04
Mohammad Dayyan24-Aug-08 10:04 
GeneralRe: What's the meaning of & sign here ? Pin
alex.barylski2-Sep-08 10:44
alex.barylski2-Sep-08 10:44 
GeneralRe: What's the meaning of & sign here ? Pin
Mohammad Dayyan2-Sep-08 11:06
Mohammad Dayyan2-Sep-08 11:06 
QuestionUsing PHPBB3 captcha classes? Pin
Mohammad Dayyan22-Aug-08 12:27
Mohammad Dayyan22-Aug-08 12:27 
JokeRe: Using PHPBB3 captcha classes? [modified] Pin
Mohammad Dayyan29-Aug-08 11:28
Mohammad Dayyan29-Aug-08 11:28 
QuestionQuestion on Linux multithread programming Pin
cy163@hotmail.com17-Aug-08 17:03
cy163@hotmail.com17-Aug-08 17:03 
QuestionJboss, ant, axis, wsdl Pin
Halawlaws11-Aug-08 11:08
Halawlaws11-Aug-08 11:08 
QuestionHow can we get directory size in PHP? Pin
Mohammad Dayyan29-Jul-08 3:13
Mohammad Dayyan29-Jul-08 3:13 
AnswerRe: How can we get directory size in PHP? Pin
Mohammad Dayyan29-Jul-08 10:16
Mohammad Dayyan29-Jul-08 10:16 
AnswerRe: How can we get directory size in PHP? Pin
Inder Singh Thakur30-Jul-08 19:46
Inder Singh Thakur30-Jul-08 19:46 

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.