in reply to
Re: Sub Return Help
in thread
Sub Return Help
This helps me the value of the subroutine; I would like to be able to assign the subroutine to a variable call $host and use as need for other fuctions. Is that possible or am I approaching the process all wrong?? Thanks
Comment on
Re^2: Sub Return Help
Replies are listed 'Best First'.
Re^3: Sub Return Help
by
toolic
(Bishop)
on May 07, 2015 at 15:26 UTC
Yes, you can assign the subroutine to a variable; read
Writing subroutines
.
[reply]
In Section
Seekers of Perl Wisdom