Imports the newsgroups in <EM>@lines</EM> into <EM>$newsrc</EM>.
Any existing data in <EM>$newsrc</EM> is discarded.
<P>Each line in <EM>@lines</EM> describes a single newsgroup,
and must have the format described in <A HREF="#newsrc files">NEWSRC FILES</A>.
If <EM>@lines</EM> contains invalid lines, <A HREF="#item_import_rc"><CODE>import_rc</CODE></A> will <A HREF="../../../lib/Pod/perlfunc.html#item_die"><CODE>die</CODE></A>.
When this happens, the state of <EM>$newsrc</EM> is undefined.</P>
<P><A HREF="#item_import_rc"><CODE>import_rc</CODE></A> accepts either an array or an array reference.</P>
Writes the contents of <EM>$newsrc</EM> back to the file
from which it was <A HREF="#item_load"><CODE>load</CODE></A>ed.
If <A HREF="#item_load"><CODE>load</CODE></A> has not been called, writes to <EM>$ENV{HOME}/.newsrc</EM>.
In either case, if the destination <EM>file</EM> exists,
it is renamed to <EM>file</EM><CODE>.bak</CODE>.
<P><A HREF="#item_save"><CODE>save</CODE></A> will <A HREF="../../../lib/Pod/perlfunc.html#item_die"><CODE>die</CODE></A> if there is an error writing the file.</P>
Writes the contents of <EM>$newsrc</EM> to <EM>$file</EM>.
If <EM>$file</EM> exists, it is renamed to <EM>$file</EM><CODE>.bak</CODE>.
Subsequent calls to <A HREF="#item_save"><CODE>save</CODE></A> will write to <EM>$file</EM>.
<P><A HREF="#item_save_as"><CODE>save_as</CODE></A> will <A HREF="../../../lib/Pod/perlfunc.html#item_die"><CODE>die</CODE></A> if there is an error writing the file.</P>
<P>I was going to call these methods <A HREF="../../../lib/Pod/perlfunc.html#item_import"><CODE>import</CODE></A> and <CODE>export</CODE>,
but <A HREF="../../../lib/Pod/perlfunc.html#item_import"><CODE>import</CODE></A> turns out not to be a good name for a method,
because <A HREF="../../../lib/Pod/perlfunc.html#item_use"><CODE>use</CODE></A> also calls <A HREF="../../../lib/Pod/perlfunc.html#item_import"><CODE>import</CODE></A>,
and expects different semantics.</P>
<P>I added the <CODE>_rc</CODE> suffix to <A HREF="../../../lib/Pod/perlfunc.html#item_import"><CODE>import</CODE></A> to avoid this conflict.
It's reasonably short and somewhat mnemonic
(the module manages news<EM>rc</EM> files).
I added the same suffix to <CODE>export</CODE> for symmetry.</P>