Don't ask to ask, just ask | |
PerlMonks |
Re: How do I write to a file?by DigitalKitty (Parson) |
on Apr 07, 2002 at 22:11 UTC ( [id://157320]=note: print w/replies, xml ) | Need Help?? |
A good idea when writing to a file is to include a space between the filename and the direction symbol. Like this:
Perl will ignore the extra space between the '>' and the filename. It is useful in preventing unexpected results. -DigitalKitty
In Section
Seekers of Perl Wisdom
|
|