Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Variable value is not reflecting

by Divakar (Sexton)
on Nov 27, 2012 at 07:03 UTC ( #1005801=perlquestion: print w/ replies, xml ) Need Help??
Divakar has asked for the wisdom of the Perl Monks concerning the following question:

Hi Folks,

any idea why the variable "$config->{cygwin_ps}" is not reflecting in the variable "$cmd".

below is my perl debugging snippet

main::kill_all_test_processes(j:\dkanagar_ostore_7.4.sol2c5.picopt\vob +s_ostore\o sci\scripts\build_test\nt\osi_nt_driver.pl:762): 762: my $cmd='$config->{cygwin_ps} -eafW | grep -i ' . $_ . + ' | grep -i ' . $config->{build_name} . ' | awk \'{print$2}\'';
DB<2> x $config->{cygwin_ps} 0 'C:\\cygwin\\bin\\ps'
DB<3> s main::kill_all_test_processes(j:\dkanagar_ostore_7.4.sol2c5.picopt\vob +s_ostore\o sci\scripts\build_test\nt\osi_nt_driver.pl:764): 764: system_log("$cmd | xargs $cygwin_kill -f -9");
DB<3> x $cmd 0 '$config->{cygwin_ps} -eafW | grep -i osserver | grep -i dkanagar_o +store_7.4_ bld_new_1 | awk \'{print$2}\''

Thanks & Regards

Divakar

Comment on Variable value is not reflecting
Select or Download Code
Re: Variable value is not reflecting
by aitap (Deacon) on Nov 27, 2012 at 07:25 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005801]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-09-22 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (179 votes), past polls