You can just do it.
{
local @ARGV = qw<param1 param2 param3>;
do '/home/buddy/myscript.pl';
}
Prevents the overhead of loading in another copy of perl.
More Related Contents:
- How to pass a variable from a child process (fork by Parallel::ForkManager)?
- How can I convert my shell script to Perl? [closed]
- search using perl one liner within a file [closed]
- How to re-direct the contents to a file instead of printing it to terminal
- How do I remove duplicate items from an array in Perl?
- Scalar vs List Assignment Operator
- How can I check if a Perl array contains a particular value?
- How do you capture stderr, stdout, and the exit code all at once, in Perl?
- How to fix a locale setting warning from Perl
- How can I fire and forget a process in Perl?
- What’s the best way to make a deep copy of a data structure in Perl?
- Getting STDOUT, STDERR, and response code from external *nix command in perl
- What is the difference between new Some::Class and Some::Class->new() in Perl?
- Iterating hash based on the insertion order?
- Why can’t I match my string from standard input in Perl?
- How do I choose a package name for a custom Perl module that does not collide with builtin or CPAN packages names?
- What’s broken about exceptions in Perl?
- How do I get the full path to a Perl script that is executing?
- What does the function declaration “sub function($$)” mean?
- How to create recursive hash of hash ? (With unlimited deep)
- Which cpan installer is the right one? (CPAN.pm/CPANPLUS/cpanminus)
- How do I lock a file in Perl?
- Why is the Switch module deprecated in Perl?
- How do I break out of a loop in Perl?
- Hidden features of Perl?
- “inappropriate ioctl for device”
- In Perl, how can I check from which module a given function was imported?
- How can I verify that a value is present in an array (list) in Perl?
- Perl Subroutine Prototyping — The correct way to do it
- How can I manually interpolate string escapes in a Perl string?