Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

Replies are listed 'Best First'.
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 wandering the Monastery: (4)
As of 2016-08-28 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (394 votes). Check out past polls.