Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Basic Perl passing a temp array

by Enlil (Parson)
on Nov 11, 2004 at 00:12 UTC ( #406854=note: print w/replies, xml ) Need Help??

in reply to Basic Perl passing a temp array

change this line:
addHost('aklia700',qw(carrot lunch));
addHost('aklia700',[qw(carrot lunch)]);
have a look at perldoc perlref (what you are wanting is an anonymous array)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406854]
[1nickt]: stevieb it's just a simple web page with a POST form. You can set the attribute so when the user's browser opens a file manager to select a file to upload, it will only show those o f the type you want to get.
[1nickt]: Question for my learned friends: is there a word meaning "CSV-like" i.e. I want to say that I accept CSV files, but the separator doesn;t have to be a comma. Or is that implicit these days?
[chacham]: dsv
[chacham]: dsv

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-07-22 18:51 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (340 votes). Check out past polls.