<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: An Easy one in Perl in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972130#M101960</link>
    <description>-l&lt;BR /&gt;&lt;BR /&gt;See file test operators in perlfunc&lt;BR /&gt;&lt;BR /&gt;# man perlfunc&lt;BR /&gt;&lt;BR /&gt;search for 'file test'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
    <pubDate>Thu, 06 Apr 2006 03:00:26 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2006-04-06T03:00:26Z</dc:date>
    <item>
      <title>An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972129#M101959</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I need to check if a directory is a symbolic link or not, in ksh we use -h to check the link. What about Perl?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Shahul</description>
      <pubDate>Thu, 06 Apr 2006 02:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972129#M101959</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-06T02:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972130#M101960</link>
      <description>-l&lt;BR /&gt;&lt;BR /&gt;See file test operators in perlfunc&lt;BR /&gt;&lt;BR /&gt;# man perlfunc&lt;BR /&gt;&lt;BR /&gt;search for 'file test'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 06 Apr 2006 03:00:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972130#M101960</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-04-06T03:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972131#M101961</link>
      <description>#!/usr/bin/perl&lt;BR /&gt;print "Enter directory | filename to check symbolic link or not: \n"&lt;BR /&gt;$filename=&lt;STDIN&gt;;&lt;BR /&gt;chomp($filename);&lt;BR /&gt;&lt;BR /&gt;if ( -l $filename )&lt;BR /&gt;{&lt;BR /&gt;   print $filename . " is made up of symbolic link";&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;   print $filename . " is not made up of symbolic link";&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;###&lt;BR /&gt;Use -l instead of -h in ksh.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;/STDIN&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972131#M101961</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-04-06T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972132#M101962</link>
      <description>Shahul,&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;unless (open(MYFILE,"file.txt")){&lt;BR /&gt;if (!(-l "file.txt")){&lt;BR /&gt;die("File is not a link\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972132#M101962</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-04-06T03:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972133#M101963</link>
      <description>You can use stat module in perl. &lt;BR /&gt;&lt;BR /&gt;$ perldoc -f stat&lt;BR /&gt;&lt;BR /&gt;which is giving an example for this to use S_ISLNK().&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 06 Apr 2006 03:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972133#M101963</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-04-06T03:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: An Easy one in Perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972134#M101964</link>
      <description>This is resolved now. Thanks to all.</description>
      <pubDate>Fri, 07 Apr 2006 05:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/an-easy-one-in-perl/m-p/4972134#M101964</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-04-07T05:17:12Z</dc:date>
    </item>
  </channel>
</rss>

