Help for this page

Select Code to Download


  1. or download this
    my $filename = "/path/to/file";
    
    ...
    print "Pipe\n" if (-p $filename);
    print "Sockete\n" if (-S $filename);
    ...