in reply to Re: using sub routines and solving an issue i have with passing variables
in thread using sub routines and solving an issue i have with passing variables
This rigth here is something that will help me alot on the script i am working on right now actually :) glad i figured this little tid bit out.my $string = "awesome_array"; my $other_string = "another_awesome_array"; push (@$string, 1, 2, 3, 4, 5 ); foreach my $element(@awesome_array){ print "$element\n"; push (@$other_string, $element) } print @another_awesome_array;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using sub routines and solving an issue i have with passing variables
by GrandFather (Saint) on Oct 01, 2014 at 00:45 UTC | |
|
Re^3: using sub routines and solving an issue i have with passing variables
by Anonymous Monk on Oct 01, 2014 at 00:33 UTC |