[EMAIL PROTECTED] wrote:
> I am intended to make a scrip to do this: you could send a video scrip
> from your PC to a friend through the net. At the same time, the
> receiver should be able to play the video script.Yet, I don't know how
> to get Perl to do it? Which types of modules I may need? Sh
On May 28, 3:26 pm, [EMAIL PROTECTED] (Brian) wrote:
> On May 27, 9:00 pm, [EMAIL PROTECTED] (Brian) wrote:
>
>
>
>
>
> > Hi All-
> > I am trudging through some DBI, XML, etc.. I had a problem and was
> > baffled by how to get at array elements out of a series of pushed
> > array refs. But, by si
On May 28, 3:22 pm, [EMAIL PROTECTED] (Brian) wrote:
> my variable names end with A for array and H for hash,
Pointless. Variable names in Perl identify what kind of variable they
are. @ for arrays, % for hashes. [ ] for accessing an element of a
hash, { } for accessing element of a hash.
> ye
On May 27, 9:00 pm, [EMAIL PROTECTED] (Brian) wrote:
> Hi All-
> I am trudging through some DBI, XML, etc.. I had a problem and was
> baffled by how to get at array elements out of a series of pushed
> array refs. But, by simplifying the problem, I found that the syntax I
> used was in error. her
On May 27, 9:00 pm, [EMAIL PROTECTED] (Brian) wrote:
> Hi All-
> I am trudging through some DBI, XML, etc.. I had a problem and was
> baffled by how to get at array elements out of a series of pushed
> array refs. But, by simplifying the problem, I found that the syntax I
> used was in error. her
On May 26, 4:34 am, [EMAIL PROTECTED] (Alma) wrote:
> On May 25, 10:16 pm, [EMAIL PROTECTED] ([EMAIL PROTECTED])
> wrote:
>
>
>
> > On May 24, 5:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > On May 24, 2:22 pm, Alma <[EMAIL PROTECTED]> wrote:
>
> > > > Hi All,
>
> > > > I need to st
On May 28, 6:53 am, [EMAIL PROTECTED] (Jeevs) wrote:
> my %hash = (jeevan=>'Ingale', Sarika =>'Bere');
> my @star = @hash{jeevan, Sarika};
> print @star;
>
> this prints ingale and bere but when i write
Like Paul said, the hash is being treated as an array slice returning
the values for "jeevan" a
If there is no server or no connection this hangs for about 20 seconds
and then crashes with the following error message.
The Timeout seems to make no difference and the 'warn' does not occur.
If works file with a good connection to a server.
Using 5.8.8 active perl.
Anyone got any suggestions for
On May 28, 11:35 am, [EMAIL PROTECTED] (Jeevs) wrote:
> @hashi = @hash{qw (jeevan, sarika)};
> print @hashi;
>
> this gives me the values of keys jeevan and sarika.. how does this
> work ...
ok i got it ...
and
I think i was not clear in my query...
I was expecting an hash slice to be
%hash{qw(je
On May 28, 1:53 am, [EMAIL PROTECTED] (Jeevs) wrote:
> my %hash = (jeevan=>'Ingale', Sarika =>'Bere');
> my @star = @hash{jeevan, Sarika};
> print @star;
>
> this prints ingale and bere but when i write
>
> my %hash = (jeevan=>'Ingake', Sarika =>'Bere');
> my @star = %hash{jeevan, Sarika};
> print
On May 28, 12:00 am, [EMAIL PROTECTED] (Brian) wrote:
> I am trudging through some DBI, XML, etc.. I had a problem and was
> baffled by how to get at array elements out of a series of pushed
> array refs.
What's to be baffled by? Have you read:
perldoc perlreftut
perldoc perllol
perldoc perlds
On May 27, 4:37 pm, [EMAIL PROTECTED] (Pauld) wrote:
> thanks for the help - im looking up hash slices -
perldoc perldata
Entire arrays (and slices of arrays and hashes) are denoted
by '@', which works much like the word "these" or "those"
does in English, in that it indicates mult
jeevs wrote:
why is it that when i write
my %hash = (jeevan=>'ingale', sarika=>'bere' );
my @arr = @hash{jeevan, sarika};
print @arr;
prints ingale bere
can someone explain me how an @sign is used and what exactly goes in
the secongline of thecode.
contrary when i try something like replac
Brian wrote:
Hi All-
I am trudging through some DBI, XML, etc.. I had a problem and was
baffled by how to get at array elements out of a series of pushed
array refs. But, by simplifying the problem, I found that the syntax I
used was in error. here is the small sample, already debugged. Hope
th
@hashi = @hash{qw (jeevan, sarika)};
print @hashi;
this gives me the values of keys jeevan and sarika.. how does this
work ...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
my %hash = (jeevan=>'Ingale', Sarika =>'Bere');
my @star = @hash{jeevan, Sarika};
print @star;
this prints ingale and bere but when i write
my %hash = (jeevan=>'Ingake', Sarika =>'Bere');
my @star = %hash{jeevan, Sarika};
print @star;
its an error..
Can someone explain or atleast point me to an
On May 26, 10:06 am, [EMAIL PROTECTED] (Spx2) wrote:
> hi,im new to multithreading altough ive read some papers on it...and
> tried to made some programs
> in perl using threads.
> what would you recommend using with perl multithreading on windows.
> what would you recommend reading on a broader sp
Hi,
@days{'Jan','Feb'} Hash slice containing ($days{'Jan'},$days{'Feb'})
-extracted from programmin perl 3rd edition
-srini
jeevs wrote:
why is it that when i write
my %hash = (jeevan=>'ingale', sarika=>'bere' );
my @arr = @hash{jeevan, sarika};
print @arr;
prints ingale bere
can someo
why is it that when i write
my %hash = (jeevan=>'ingale', sarika=>'bere' );
my @arr = @hash{jeevan, sarika};
print @arr;
prints ingale bere
can someone explain me how an @sign is used and what exactly goes in
the secongline of thecode.
contrary when i try something like replacing the @ sign
Hi All-
I am trudging through some DBI, XML, etc.. I had a problem and was
baffled by how to get at array elements out of a series of pushed
array refs. But, by simplifying the problem, I found that the syntax I
used was in error. here is the small sample, already debugged. Hope
this helps someon
I am intended to make a scrip to do this: you could send a video scrip
from your PC to a friend through the net. At the same time, the
receiver should be able to play the video script.Yet, I don't know how
to get Perl to do it? Which types of modules I may need? Should I use
TCP/IP modules or some
thanks for the help - im looking up hash slices - but id like to get
something that works and then i can add new ideas etc so im going to
leave it as it for the time being.
Data::Dumper has helped sort out where an error is coming
#!/usr/bin/perl -w
use strict;
use warnings;
open O, "<$file" or
22 matches
Mail list logo