On Fri, Feb 10, 2012 at 10:52 AM, Harry Putnam wrote:
>
> But these command line attempts fail:
>
> (all on one line)
> perl -e 'my ($seven, $nine) =
> (stat('./SweetwatterPk-016.jpg'))[7, 9];
> print "$seven and $nine"'
>
> output:
> syntax error at -e line 1, near "stat(."
> Search
On 10/02/2012 17:52, Harry Putnam wrote:
This script:
--- 8< snip -- 8< snip -- 8
Something like this perhaps?
perl -e "print join ' and ', (stat shift)[7,9]" ./SweetwaterPk-016.jpg
But I would think the modification time (stat 9) wouldn't be of much
use without format
This script:
--- 8< snip -- 8< snip -- 8http://learn.perl.org/
On 12-02-10 11:26 AM, casandra riera ribas wrote:
Hi, I have some (probably very stupid) problem when trying to search in perldoc
in my computer (MacOSX 10.7.2), see:
I would say that your Perl documentation is missing. On Linux, some
distros come without it. I know how to load it in Debian b
Hi, I have some (probably very stupid) problem when trying to search in perldoc
in my computer (MacOSX 10.7.2), see:
maccasandra:~ mcasandrariera$ perldoc perltoc
No documentation found for "perltoc".
maccasandra:~ mcasandrariera$ perldoc List::Util ##this worked
maccasandra:~ mcasandrariera$ p