Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What does the command @ARGV mean in Perl?

Status
Not open for further replies.

verilog_always

Member level 2
Joined
Dec 27, 2006
Messages
43
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Activity points
1,552
what is the command @ARGV means. And how it is used in perl.
 

Re: perl-ARGV

ARGV is not a command. It is a default array variable holding a list of the command line arguments.

When you look in the @ARGV array, you find all the parameters or arguments that were passed to the perl script at invocation.

more info **broken link removed**
 
Re: perl-ARGV

Hi hunter694,
Can u please provide any example, to understand it.
 

perl-ARGV

**broken link removed** is a page that explains how to rename files using a perl script. It uses @ARGV array to read the file names passed to the perl script by the user through command-line.
 
  • Like
Reactions: sulabh

    sulabh

    Points: 2
    Helpful Answer Positive Rating
Re: perl-ARGV

It represents the default argument (array argument)..

It's a special variable that can be used in Perl..

You may use it when u want your perl script to take values from the command line arguments..

Hope that helps you....

Ahmad,
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top