Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Can I get a -S switch that doesn't care about the execute bit?

by Anonymous Monk
on Aug 23, 2011 at 08:24 UTC ( [id://921843]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            if (S_ISREG(PL_statbuf.st_mode)
            && cando(S_IRUSR,TRUE,&PL_statbuf)
    ...
            xfound = tmpbuf;        /* bingo! */
            break;
            }
    
  2. or download this
    package sx::y;
    $sx::y = $VERSION = 0.01;
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://921843]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2025-03-18 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (56 votes). Check out past polls.