Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Changing an array from a sub

by tybalt89 (Priest)
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2018-07-18 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (395 votes). Check out past polls.

    Notices?