in reply to Re^3: remove 16 Zeros
in thread remove 16 Zeros
What you have posted isn't a function :/
but you don't save values to a sub function, functions are not storage places, functions are not variables
you save values into variables, you save values into scalars, arrays and hashes
you pass variables (like references) to functions
http://perldoc.perl.org/perlintro.html#Writing-subroutines
Now you could be asking how to push $pvid as well? But that seems kinda obvious, you just copy/paste what you have and make the var $pvid
So first you need to figure out what you want and then communicate that effectively to us
push @{ $lsmap_slots{$key} }, $svsa, $physloc, $vtd, $lun, $backing, $bdphysloc, $pvid, $ollyollyoxenfree, $status;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: remove 16 Zeros
by Anonymous Monk on Oct 26, 2015 at 10:52 UTC |