Command-line arguments
Command line arguments are available in the ARGV array.
say ARGVOutput:
% myprog -c "alpha beta" -h "gamma"
['-c', 'alpha beta', '-h', 'gamma']Last updated
Was this helpful?
Command line arguments are available in the ARGV array.
say ARGV% myprog -c "alpha beta" -h "gamma"
['-c', 'alpha beta', '-h', 'gamma']Last updated
Was this helpful?