gg48gg has asked for the wisdom of the Perl Monks concerning the following question:
Need help understanding what the '$&&&!$s++' means in this code:
# svmon -Pt15 | perl -e 'while(<>){print if($.==2||$&&&!$s++);$.=0 if(/^-+$/)}'
I understand what the line of code does (filters output of svmon command on AIX), just not sure what that string is. Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help with this snippet: if($.==2||$&&&!$s++)
by ikegami (Patriarch) on Nov 30, 2011 at 22:48 UTC | |
|
Re: help with this snippet: if($.==2||$&&&!$s++)
by toolic (Bishop) on Nov 30, 2011 at 22:00 UTC | |
|
Re: help with this snippet: if($.==2||$&&&!$s++)
by DrHyde (Prior) on Dec 01, 2011 at 10:30 UTC |