Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-07-2012, 06:51 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 4

Rep: Reputation: Disabled
How to pass multiple objects into Perl script?


Completely new to Perl as of 25 minutes ago.

I have a perl script that is used for reporting data.

Currently i have a line that reads


Id like to have multiple hosts



I have tried seperating with a comma but no joy.

Is this possible please?

Old 02-07-2012, 07:41 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There must be a million ways. Depends on how you do do the stuff in general, I'm afraid. See for example this about CGI if that's what you're after (multi-valued parameters) and what you use.

Last edited by b0uncer; 02-07-2012 at 07:42 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print output of a script to screen using Perl/Multiple installation of Perl Modules metallica1973 Linux - General 1 02-17-2011 05:59 PM
count multiple objects in shell script raggmopp1961 Linux - General 1 07-22-2010 08:56 AM
how to pass variables to perl script from php script smohan Programming 17 06-17-2010 08:15 AM
how to pass in a parameter to a perl script new_2_unix Linux - Newbie 2 12-09-2007 12:48 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration