CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Pass parameter to a program

 



mackiew
Deleted

Oct 28, 2000, 7:36 AM

Post #1 of 2 (524 views)
Pass parameter to a program Can't Post

Hello !
I have a perl program called myPerlProgram.
I want pass a parameter myParameter (scalar) to it as:

comandLine> myPerlProgram myParameter <Enter>

What code must I include in myPerlProgram to catch myParameter into the program?

How I do it??

Thanks !


------------------


japhy
Enthusiast / Moderator

Oct 28, 2000, 10:25 PM

Post #2 of 2 (524 views)
Re: Pass parameter to a program [In reply to] Can't Post

Read the 'perlvar' documentation for the @ARGV array.

------------------
Jeff "japhy" Pinyan -- accomplished author, consultant, hacker, and teacher


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives