ing language. Many scripts may
be translated to Perl with little additional work (possibly adding a
bunch of quotes and colons).
You may try something like
system "/home/xxx/yyy/abc";
It wouldn't hurt to test for the permissions on the file to make sure
you can exec
alth
Emory University
Atlanta, GA 30322
--
Rance Hall
System Administrator
Nebraska Turkey Growers
1-308-468-5711, ext. 106
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I'm sure
both are technically correct, but I'm sure there are places where one
approach should be preferred over the other.
--
Rance Hall
System Administrator
Nebraska Turkey Growers
1-308-468-5711, ext. 106
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
e set of hash keys is what the computer uses to find values in the
hash, and in order to optimize your code and make searching the hash for
specific values as fast as possible, you should WANT your key to be as
short and simple as possible but still make sense when you need to debug
your code.
Chas Owens wrote:
On 5/1/06, Rance Hall <[EMAIL PROTECTED]> wrote:
assume the following code:
my $output = qx{systemcall};
assume that the output of the systemcall looks something like this
name\n
value\n
snip
what like to do is get the name/value pairs into a hash of some sort
wants to split on EACH "\n"
I think what I need to do is split every other "\n" and then go back and
split each name\nvalue pair.
But I'm open to suggestions about HOW to accomplish this.
Thanks.
--
Rance Hall
System Administrator
Nebraska Turkey Growers
1-308-
Randal L. Schwartz wrote:
"Rance" == Rance Hall <[EMAIL PROTECTED]> writes:
Rance> All of my other lists behave in the reverse, if you reply, it goes to
Rance> the list, if you reply all, a second copy goes to the individual.
Oh geez. Here we go again.
Please read <
on schemes, so I probably need
something more bullet proof than this.
--
Rance Hall
System Administrator
Nebraska Turkey Growers
1-308-468-5711, ext. 106
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.
Chad Perrin wrote:
On Thu, Apr 27, 2006 at 08:42:51AM -0500, Rance Hall wrote:
some mail readers are probably capable of reading the list header and
figuring it out, but I bet others don't (like mine)
I use Mutt, which allows me to list-reply, but without setting up custom
configuratio
nd that apparently is
also wrong, I was getting 1 when I should have got >1.
The doc I read said that there is a special variable called #$arrayname
that has the count of array elements.
But this isn't correct, so how do you return the count of array elements?
--
Rance Hall
System Admin
Chad Perrin wrote:
On Wed, Apr 26, 2006 at 03:22:16PM -0500, Rance Hall wrote:
I'm working on a new perl script thats giving me fits.
[snip]
I just sent a lengthy reply to this that was supposed to go to the list,
but accidentally sent it to the individual. I don't care
om" with just one element.
I'm not understanding why spliting on the whitespace doesn't split the
way I want it too, none of the values have any whitespace in them except
for the way the output is formatted.
could someone help me figure out why its not happening like I want it to.
Thanks
12 matches
Mail list logo