<?xml version="1.0" encoding="windows-1252"?>
<node id="343" title="perlfunc:symlink" created="1999-08-24 18:43:29" updated="2005-08-12 22:16:15">
<type id="119">
perlfunc</type>
<author id="114">
gods</author>
<data>
<field name="doctext">
</field>
<field name="name">

&lt;P&gt;
symlink - create a symbolic link to a file

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="synopsis">

&lt;P&gt;
symlink 
&lt;FONT SIZE=-1&gt;OLDFILE,NEWFILE&lt;/FONT&gt;

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="description">

&lt;P&gt;
Creates a new filename symbolically linked to the old filename. Returns &lt;CODE&gt;1&lt;/CODE&gt; for success, &lt;CODE&gt;0&lt;/CODE&gt; otherwise. On systems that don't support symbolic links, produces a fatal
error at run time. To check for that, use eval:

&lt;P&gt;
&lt;PRE&gt;    $symlink_exists =  eval { symlink(&amp;quot;&amp;quot;,&amp;quot;&amp;quot;); 1 };
&lt;/PRE&gt;
&lt;HR&gt;
</field>
</data>
</node>
