in reply to pipe one function output to another
because it joined (@stuff,"\n") (a perfectly legal list) using "\n" instead of joining @stuff and then putting one last \n on the end.my @stuff=qw(foo bar baz); print join "\n",@stuff,"\n"; print "test!\n"; ------------ foo bar baz test!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: pipe one function output to another
by johngg (Canon) on Aug 14, 2009 at 20:35 UTC | |
by ssandv (Hermit) on Aug 14, 2009 at 21:53 UTC |