Re: bootstrap.pl for setting up my machine

2011-10-31 Thread Sime Ramov
Here's the finished script from which I just bootstrapped -current. Gets the job done. Thanks for the help. #!/usr/bin/perl # Usage: ftp -o - -V http://dl.ramov.com/bootstrap.pl | perl - use 5.010; use strict; use warnings; die "This script must be run as root.\n" unless $> eq 0; my $arch = q

Re: Question regarding file stat setgid determination.

2011-10-31 Thread Igor Dovgiy
Hi Daniel, There's no such thing as boolean literals [true/false] in Perl. ) Remember these weird '1's at the end of .pm files? ) Or constructs like while(1)? ) And frankly speaking, I don't think there's a big need for these literals. Every value (scalar or list, doesn't matter) can be well and