techie411 has asked for the wisdom of the Perl Monks concerning the following question:
I only see it filled when I exit the script. What can I do to pass the arguments? Thanks!#!/usr/bin/perl use strict; use warnings; my $otherScript = '/usr/local/bin/script'; system ("$otherScript test"); $ARGV[0] = "First"; print $ARGV[0];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing arguments from a Perl script to another
by GrandFather (Saint) on Oct 04, 2010 at 20:36 UTC | |
|
Re: Passing arguments from a Perl script to another
by toolic (Bishop) on Oct 04, 2010 at 18:49 UTC | |
by morgon (Priest) on Oct 04, 2010 at 22:12 UTC |