Main      Site Guide    
Message Forum
Perl Help
Posted By: Don the Monkeyman, on host 24.79.16.83
Date: Friday, November 30, 2001, at 23:07:56

It feels wrong to post something like this to the Forum, but I can't see any reason why it would be. I could probably find the answer to this question in the perl manpages, but I am exhausted and couldn't find it on my first look through, so I figured I would pop in here.

When I am passing variables to an array, I have been assigning the value of a single argument to the local variable $data like this (done inside the subrouting):

my $data = shift(@_);

If I wish to pass several arguments (to $data1 and $data2, for example), what is the syntax?

Don "This is probably obvious. *sigh*" Monkey

Replies To This Message

Post a Reply

RinkChat Username:
Password:
Email: (optional)
Subject:
Message:
Link URL: (optional)
Link Title: (optional)

Make sure you read our message forum policy before posting.