in reply to Re: state and file perms confusion
in thread state and file perms confusion
I'm missing something fundamental.
What am I seeing? How can store the number in a scalar rather than printing it?print "mode=".$mode."\n"; printf "printf are %04o\n", $mode; printf "Permissions are %04o\n", $mode & 07777; ..produces mode=33188 printf are 100644 Permissions are 0644
Neil Watson
watson-wilson.ca
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: state and file perms confusion
by Kenosis (Priest) on Aug 04, 2012 at 02:18 UTC | |
Re^3: state and file perms confusion
by Tanktalus (Canon) on Aug 04, 2012 at 13:55 UTC |
In Section
Seekers of Perl Wisdom