metalnut has asked for the wisdom of the Perl Monks concerning the following question:
what am i doing wrong? im sorry if this is stupid question but ive started learning perl very recently.chdir($current_dir) or die "cant change\n"; my $dir = $current_dir . "/program2.pl"; my @args = ("$dir", "&"); system (@args);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: running programs from PERL
by afoken (Chancellor) on Oct 25, 2009 at 09:19 UTC | |
by almut (Canon) on Oct 25, 2009 at 10:22 UTC | |
|
Re: running programs from PERL
by jakobi (Pilgrim) on Oct 25, 2009 at 10:10 UTC | |
by cdarke (Prior) on Oct 25, 2009 at 13:01 UTC | |
by jakobi (Pilgrim) on Oct 25, 2009 at 14:43 UTC | |
by Anonymous Monk on Oct 25, 2009 at 10:34 UTC | |
|
Re: running programs from PERL
by Anonymous Monk on Oct 25, 2009 at 08:36 UTC | |
|
Re: running programs from PERL
by CountZero (Bishop) on Oct 25, 2009 at 08:37 UTC | |
by metalnut (Initiate) on Oct 25, 2009 at 20:01 UTC |