On 8/4/10 Wed Aug 4, 2010 9:09 AM, "Sooraj S"
scribbled:
> Hi,
>
> My script has 3 options which recieve integers. If any of those
> options are having a value which is less than zero i want to make them
> to 100.
>
> eg: if opt2 = 32 and opt3 = 24 i want to make them to 100.
>
> code
>
On Thu, Aug 5, 2010 at 01:16, Sooraj S wrote:
> Thanks for your reply..
>
> I have used all the standard headers. The only thing that am concerend
> is that i want my array opt as an array of references.
> @opt = (\$opt1,\$opt2,\$opt3);
>
> When i iterate through the array, if it finds my conditio
On 5 August 2010 03:39, John W. Krahn wrote:
> Mike Martin wrote:
>>
>> Hi
>
> Hello,
>
>> I have the following code
>> my $type='val';
>> my $type_g;
>> foreach my $key (keys %options){
>> my $chk=$options{$key}->[3];
>> $type_g=$options{$key}->[4] if $chk=~/$type/;
>> #$type_g=$options{$key}->[4
- Show quoted text -
On 5 August 2010 04:58, Chas. Owens wrote:
> On Wed, Aug 4, 2010 at 11:36, Mike Martin wrote:
> snip
>> This fails but if I replace
>> $type_g=$options{$key}->[4] if $chk=~/$type/
>>
>> with either
>> $type_g=$options{$key}->[4] if $type=~/$chk/; (ie:reversing the match)
>>
>
Thanks for your reply..
I have used all the standard headers. The only thing that am concerend
is that i want my array opt as an array of references.
@opt = (\$opt1,\$opt2,\$opt3);
When i iterate through the array, if it finds my condition to be
matched, it should set the value to 100, so that th
> "Noah" == Noah writes:
Noah> is there a perl module that does a decent job converting an ipv4
Noah> address to an ipv6 address?
That's like asking "How do I convert my telephone number into a street
address?". Those are really two different realms, even though they run
over the same wire
On Thu, Aug 5, 2010 at 4:09 PM, Rob Coops wrote:
> On Thu, Aug 5, 2010 at 9:52 AM, sync wrote:
>
> > Hi, guys:
> >
> > i have a perl script that supposed to add users to ldap . when i run the
> > script it get:
> >
> > Can't call method "get_value" on an undefined value at ./add_user.pl
> >
> >
sync wrote:
Hi, guys:
Hello,
i have a perl script that supposed to add users to ldap . when i run the
script it get:
Can't call method "get_value" on an undefined value at ./add_user.pl
Any help will be appreciated?
The following message is my perl script message and my perl versio
On Thu, Aug 5, 2010 at 03:52, sync wrote:
> Hi, guys:
>
> i have a perl script that supposed to add users to ldap . when i run the
> script it get:
>
> Can't call method "get_value" on an undefined value at ./add_user.pl
snip
> my @entries = $mesg->sorted('uidNumber');
> my $entry = pop @entries;
On Thu, Aug 5, 2010 at 9:52 AM, sync wrote:
> Hi, guys:
>
> i have a perl script that supposed to add users to ldap . when i run the
> script it get:
>
> Can't call method "get_value" on an undefined value at ./add_user.pl
>
>
>
> Any help will be appreciated?
>
>
> The following message is my
Hi, guys:
i have a perl script that supposed to add users to ldap . when i run the
script it get:
Can't call method "get_value" on an undefined value at ./add_user.pl
Any help will be appreciated?
The following message is my perl script message and my perl version is
5.8.8 on CentOS 5.4
11 matches
Mail list logo