madhavabk has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, is there any way to create soft links instead of hard links in perl programming? thanks, madhava

Replies are listed 'Best First'.
Re: How to create symlinks
by naikonta (Curate) on Apr 23, 2007 at 05:32 UTC
    $ perldoc -f symlink
    Or, symlink. What can be easier that this?

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

      hi, thank you. thanks, madhava
Re: How to create symlinks
by varian (Chaplain) on Apr 23, 2007 at 06:05 UTC
    Madhavabk, you can use the Perl function symlink to create symbolic links provided the system supports it.
    my $ok = symlink( $filename, $symboliclink_name );