samy1212 has asked for the wisdom of the Perl Monks concerning the following question:
in my perl script I am trying to set a value equal to $one/$two which in this case should be 2233/3434 I am doing the following :$one = 2233 $two = 3434
it is not working for me , I get the following :my $value = system('$one/$two'); print "my value is $value\n";
so I am not getting any thing sat to value but I could see the output. What is wrong ?2233/3434 my value is
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unix command with system
by neuroball (Pilgrim) on Jan 17, 2004 at 00:58 UTC | |
by samy1212 (Novice) on Jan 17, 2004 at 01:33 UTC | |
|
Re: unix command with system
by b10m (Vicar) on Jan 17, 2004 at 00:42 UTC | |
|
Re: unix command with system
by dominix (Deacon) on Jan 17, 2004 at 07:59 UTC | |
|
Re: unix command with system
by jweed (Chaplain) on Jan 17, 2004 at 00:47 UTC |