On Sat, 6 Nov 2004 22:15:43 -0800 (PST), mark McWilliams
<[EMAIL PROTECTED]> wrote:
Where should I look?
There is a bin folder created when I tried to load
perl but it does not have any subfolders in it.
Yes, the are usually stored under C:/Perl/bin
I can not find any /usr folder in the instal
> The varaible number is been appended to the arrya, I want as exactly
> passed
Hmmm...Whenever you pass array AND a variable with array being first,
the subroutine takes the variable and appends to array.
Your signature MUST BE
sub change {
my ($var,@arr) = @_;
blah blah
}
Make sure
I an having trouble installing perl5 or activeperl on
my machine and would like any advice anyone can give.
What in particular should I look for after it is
suppositively installed.
Where should I look?
There is a bin folder created when I tried to load
perl but it does not have any subfolders i
Zeus Odin wrote:
Apologies, I was asleep at the wheel during my last response.
:-)
The only answer I have is that this is how the designers of Perl decided
that the printing of undefined $, @, and % would work. This is probably due
to the fact that the undefined value of a scalar *is* different fro
Prasanna Kothari <[EMAIL PROTECTED]> wrote:
: Pass reference to the array.
Prosanna is correct.
: #!/usr/bin/perl
use strict;
use warnings;
: my @array=("First","second","third");
: my $menuStr="im";
: @tempArray=change([EMAIL PROTECTED],$menuStr);
Should be
my @tempAr
Zeus Odin wrote:
Apologies, I was asleep at the wheel during my last response.
:-)
The only answer I have is that this is how the designers of Perl decided
that the printing of undefined $, @, and % would work. This is probably
due
to the fact that the undefined value of a scalar *is* different fr
On Tue, Nov 02, 2004 at 03:18:39PM +, bertold wrote:
> hi
>
> i have to start porting project of Perl interpreter for linux-like
> platform. Perl-5.8.5 cross compile on host RH9
>
> i have cross compiler but it can't compile amd link in one line,
> like gcc.
>
> how to change perl configura
Two small mistakes:
"Zeus Odin" <[EMAIL PROTECTED]> wrote in message ...
> $ perl -mstrict -MData::Dumper -we "my $; print Dumper $s;"
^^^
$s
> $VAR1 = undef;
> $ perl -mstrict -MData::Dumper -we "my %h; print Dumpe
Apologies, I was asleep at the wheel during my last response.
:-)
The only answer I have is that this is how the designers of Perl decided
that the printing of undefined $, @, and % would work. This is probably due
to the fact that the undefined value of a scalar *is* different from the
undefined
Hi,
Pass reference to the array.
#!/usr/bin/perl
my @array=("First","second","third");
my $menuStr="im";
@tempArray=change([EMAIL PROTECTED],$menuStr);
foreach (@tempArray) {
print "\nElement: $_\n";
}
sub change
{
my ($ra_ref,$var)[EMAIL PROTECTED];
print "The
10 matches
Mail list logo