tphyahoo has asked for the wisdom of the Perl Monks concerning the following question:
Currently I'm doing this
Works ok, but is there a more elegant way?#filename: stickOutputOnEnd.pl use warnings; use strict; open F, ">>stickOutputOnEnd.pl"; print F "\nThis should be appended to my perl program."; close F; __END__ This should be appended to my perl program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sticking output onto the end of your script.
by grinder (Bishop) on Mar 15, 2005 at 13:42 UTC | |
|
Re: Sticking output onto the end of your script.
by perlfan (Parson) on Mar 15, 2005 at 14:43 UTC | |
by tphyahoo (Vicar) on Mar 15, 2005 at 15:00 UTC | |
|
Re: Sticking output onto the end of your script.
by merlyn (Sage) on Mar 15, 2005 at 15:13 UTC | |
|
Re: Sticking output onto the end of your script.
by BrowserUk (Patriarch) on Mar 15, 2005 at 13:57 UTC | |
|
Re: Sticking output onto the end of your script.
by legato (Monk) on Mar 15, 2005 at 18:06 UTC |