edwyr has asked for the wisdom of the Perl Monks concerning the following question:
I've started reading _Higher-Order Perl_ and read a command I'm not familiar with. Normally I would use perldoc or perldoc -f, but the regex is "painful" on this one...
The line is: my $total = -s $top; What is the = -s? Mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: New to me: What does $var = -s 'file' do?
by choroba (Cardinal) on Sep 05, 2018 at 15:25 UTC | |
|
Re: New to me: What does $var = -s 'file' do?
by edwyr (Sexton) on Sep 05, 2018 at 15:32 UTC | |
by stevieb (Canon) on Sep 05, 2018 at 15:40 UTC | |
|
Re: New to me: What does $var = -s 'file' do?
by Anonymous Monk on Sep 06, 2018 at 17:50 UTC |