sub results { return "Name:xxx Address: Main street City: Boston Phone: 123 234 2345" } $variable = &results(); print $variable;
In reply to Re: How to collect the stdout of a subroutine call?
by fletcher_the_dog
in thread How to collect the stdout of a subroutine call?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |