"Oleg V. Volkov" <[EMAIL PROTECTED]> wrote:
[skip]
> but declaring
> parameters two times - first as "our" variables and then once again
> as a list for this function to check against, so it can catch
> errors in list looks kinda ineffective to me.
Seems like I've found something that will help me
On Tue, 31 Oct 2006 12:22:39 +, Mário Gamito wrote:
> I'm trying to find a PERL module named "Template" that i need to run an
> application.
>
> Well, i found several Template-whatever modules, but not just "Template".
Go to search.cpan.org, search for Template in Modules, first hit:
http:/
Hi,
I'm trying to find a PERL module named "Template" that i need to run an
application.
Well, i found several Template-whatever modules, but not just "Template".
Can anyone help me, please ?
Thanks in advance.
Warm Regards,
Mário Gamito
I have a reference to an annonymous array, which I am looping through with
foreach(@$servref) {
if ( checkServer($_, $dn) ) {
push(@$goodservref, $_);
} else {
# server wasn't good. Add another item to the list
push(@$servref, newitem);
If you are trying to use Template::Tookit then you would still
declare it's use as
use Template;
I believe this is the module that your looking for if you've seen
that declartion in a script somewhere.
HTH.
Dp.
On 31 Oct 2006 at 12:22, Mário Gamito wrote:
> Hi,
>
> I'm trying to find a PERL m
>
> I have a reference to an annonymous array, which I am looping through with
>
> foreach(@$servref) {
> if ( checkServer($_, $dn) ) {
> push(@$goodservref, $_);
> } else {
> # server wasn't good. Add another item to the list
> push
> Hi,
>
> I'm trying to compile GD-2.35 CPAN module, but i get this error:
>
> "make: *** [GD.o] Error 1"
>
> Nothing else.
> I've tried lower versions, but still get trhe same error.
>
> I'm running RHEL 2.1with PERL 5.6.1
>
> Any help would be appreciated.
>
>
Before installing the GD Perl
Hi,
I'm trying to compile GD-2.35 CPAN module, but i get this error:
"make: *** [GD.o] Error 1"
Nothing else.
I've tried lower versions, but still get trhe same error.
I'm running RHEL 2.1with PERL 5.6.1
Any help would be appreciated.
Warm Regards,
Mário Gamito
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> You need to show us your code Chuck. Perl doesn't do that, in any situation
> that
> I can think of. Try running this on its own:
>
> my $s = '144 cm';
> $s =~ s/(\d+ +cm)/$1/g;
> print $s;
>
> I get
>
> 144 cm
>
> what do you get?
>
Hi,
I'm trying to compile GD-2.35 CPAN module, but i get this error:
"make: *** [GD.o] Error 1"
Nothing else.
I've tried lower versions, but still get trhe same error.
I'm running RHEL 2.1with PERL 5.6.1
Any help would be appreciated.
Warm Regards,
Mário Gamito
On 10/31/06, Andy Greenwood <[EMAIL PROTECTED]> wrote:
I have a reference to an annonymous array, which I am looping through with
foreach(@$servref) {
Based on certain criteria, I want to add a new item to the end of the
$servref array. Is it safe to do this inside the foreach loop?
Nope;
Andy Greenwood wrote:
I have a reference to an annonymous array, which I am looping through with
foreach(@$servref) {
if ( checkServer($_, $dn) ) {
push(@$goodservref, $_);
} else {
# server wasn't good. Add another item to the list
push
Hi,
On 10/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to compile GD-2.35 CPAN module, but i get this error:
>
> "make: *** [GD.o] Error 1"
>
> Nothing else.
> I've tried lower versions, but still get trhe same error.
>
> I'm running RHEL 2.1with PERL 5.6.1
>
> Any h
Hi all,
I used the Algorithm::NaiveBayes from CPAN. Now it's all working fine
on the syntax. The problem is that I cannot get the 'result'. I trained the
algorithm with some attributes and provided the labels alongwith using
add_instance. And then trained it with train(). Now, to predict I used t
A Dilluns 30 Octubre 2006 02:34, xavier mas va escriure:
> A Dimarts 31 Octubre 2006 02:22, Daniel Kasak va escriure:
> > my ( $, $mm, $dd ) = split /(-|\/)/, $mmdd;
>
> split function can't accept an expression on its syntax, only a character
> as separator field.
> --
> Xavier Mas
you're
Chuck Roberts wrote:
>
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>>
>> You need to show us your code Chuck. Perl doesn't do that, in any situation
>> that I can think of. Try running this on its own:
>>
>> my $s = '144 cm';
>> $s =~ s/(\d+ +cm)/$1/g;
>> print $s;
>>
>> I get
>>
>
On 10/31/2006 10:20 AM, C.R. wrote:
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
You need to show us your code Chuck. Perl doesn't do that, in any situation that
I can think of. Try running this on its own:
my $s = '144 cm';
$s =~ s/(\d+ +cm)/$1/g;
print $s;
I get
144 cm
what do
Hi, I'm trying to do a substitution and am having trouble in that I am getting
non-specific matches...I'd like to specify the regular expression to match any
character to the left of $code and nothing or the end of the array element on
the right of $code...is there a character class or some othe
Kathryn Bushley wrote:
>
Hi, I'm trying to do a substitution and am having trouble in that I am
getting non-specific matches...I'd like to specify the regular expression to
match any character to the left of $code and nothing or the end of the array
element on the right of $code...is there a cha
Saurabh Singhvi wrote:
>
Hi all,
I used the Algorithm::NaiveBayes from CPAN. Now it's all working fine
on the syntax. The problem is that I cannot get the 'result'. I trained the
algorithm with some attributes and provided the labels alongwith using
add_instance. And then trained it with train()
On 10/31/2006 04:44 PM, Kathryn Bushley wrote:
Hi, I'm trying to do a substitution and am having trouble in that I am getting non-specific matches...I'd like to specify the regular expression to match any character to the left of $code and nothing or the end of the array element on the right of $c
21 matches
Mail list logo