John wrote:
> I have just started using perl critic to analyse my code.
>
> I have often used @_ as a temporary array like this:
[..]
> Critic complains with 'Always unpack @_ first', why?
> What is so wrong with this usage?
anthony.okusa...@usbank.com gave an excellent response to what perl crit
Dave Golden wrote:
> Jan Dubois wrote:
> > So any feedback on the style /content would be welcome.
> I really liked that you discussed good style and some defensive
> coding, even though that wasn't required by the competition.
> "open or die" -- I personally think it's good style to die with at
"David Golden" <[EMAIL PROTECTED]> wrote on 02/23/2008 03:00:19 PM:
> Well, it was written to be clever, not maintainable. :-)
Point taken. I did mention that I was probably going to far in what was
just a game. :-)
> In response to Conway: clever algorithms are good; clever code is not so
goo
[EMAIL PROTECTED] wrote on 05/21/2008
03:00:25 PM:
> Date: Tue, 20 May 2008 16:39:53 -0500
> From: Mike Schleif <[EMAIL PROTECTED]>
> Subject: printing html with hardcoded page breaks ???
> How can I build a web page that, when printed, breaks the web page into
> multiple printed pages, which brea
Foo JH <[EMAIL PROTECTED]>, on 20 Nov 2008 10:40:13 +0800 wrote:
> Fish, David wrote:
> > Hello! The problem I am having is I am pulling data from a table in a
> > certain order and loading it into the hash array but when I read the
> > hash array it comes out in a different order than it is writ
I have code that executes an external command, vis:
eval {
local $SIG{ALRM} = sub { die "alarm\n" };
alarm $TIMEOUT;
$text = `$pre_command$host $post_command` || ( $connectOk = 0 );
alarm 0;
$errStr = $^E;
};
The command hangs for a reason I don't understand (its a PsExec
Ken Slater wrote:
> You could just store the names in an array, but I'm assuming you need to
> access a specific file at some point.
I just wanted to follow up and perhaps clarify that. What I read is
> What I want to do is stick the
> same drive letter/directory path on the front of several fi
perl-win32-users-boun...@listserv.activestate.com wrote on 06/04/2012
03:00:03 PM:
> I have a need to determine which client machine a given user (or all
> users) has logged into the domain from.
>
> I'm willing to back into it by starting with all client machines. I'm
If you can access via WMI,
"Barry Brevik" wrote on 06/04/2012 06:34:07 PM:
> Thank you for the detailed response, even if it is depressing.
Don't think of it as depressing, think of it as an opportunity. Gathering
all your logs could provide more insight into your environment.
Attached is a toy I wrote.
The idea is to
perl-win32-users-boun...@listserv.activestate.com wrote on 06/05/2012
03:00:02 PM:
> A non-text attachment was scrubbed...
> Name: pullFromEventLog.pl
It was a text attachment, you silly little program... Well, I don't know
how to get my mailer to send text only, so I can't blame it much.
Its
10 matches
Mail list logo