We don't bite newbies here... much | |
PerlMonks |
Re: print and sayby choroba (Cardinal) |
on Sep 12, 2017 at 09:12 UTC ( [id://1199175]=note: print w/replies, xml ) | Need Help?? |
1) What do you mean by "store"? If you want to store it in a variable, assign the function call to the variable:
To store it in a file, print to a file:
2) Documented in say: Just like print, but implicitly appends a newline. say LIST is simply an abbreviation for { local $\ = "\n"; print LIST }.
In Section
Seekers of Perl Wisdom
|
|