Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Changing an array from a sub

by tybalt89 (Curate)
on Feb 13, 2018 at 02:40 UTC ( #1209037=note: print w/replies, xml ) Need Help??


in reply to Changing an array from a sub

sub ChangeArray6 { @_[0..$#_] = (6) x @_; # Try this instead }

Replies are listed 'Best First'.
Re^2: Changing an array from a sub
by harangzsolt33 (Beadle) on Feb 13, 2018 at 02:46 UTC
    Oh, Thank you!! It works!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1209037]
help
Chatterbox?
[karlgoethebier]: thao4: Si tout le reste échoue demande en francais ;-) There are some French speaking monks in the monastry...
[erix]: weird: a dev version perl (perl-5.27.9) is released, but git doesn't contain a perl-5.27.10 yet
[karlgoethebier]: ...not me ;-)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2018-02-21 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (277 votes). Check out past polls.

    Notices?