Re: ||= operator

2009-08-07 Thread Shawn H. Corey
Admin wrote: Shawn H. Corey wrote: Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. See http://perldoc.perl.org/perlop.html#Assignment-Operators thanks Shawn But I sear

Re: ||= operator

2009-08-07 Thread Chas. Owens
On Fri, Aug 7, 2009 at 18:42, Admin wrote: > Shawn H. Corey wrote: >> >> Admin wrote: >>> >>> Hi there, >>> >>> is there a page that explains the ||= operator and similar operators? >>> google is not quite finding the special characters in the first 10 hits. >>> >>> >> >> See http://perldoc.perl.or

Re: ||= operator

2009-08-07 Thread Admin
Shawn H. Corey wrote: Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. See http://perldoc.perl.org/perlop.html#Assignment-Operators thanks Shawn But I searched the page

Re: ||= operator

2009-08-07 Thread Telemachus
On Fri Aug 07 2009 @ 2:55, Admin wrote: > Hi there, > > is there a page that explains the ||= operator and similar operators? > google is not quite finding the special characters in the first 10 hits. Google and punctuation don't mix well, apparently. In any case, try perldoc perlop in a termina

Re: ||= operator

2009-08-07 Thread John W. Krahn
Admin wrote: Hi there, Hello, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. $left ||= $right is just short for: $left = $left || $right and || is the logical OR operator. So if $left is TRUE

Re: ||= operator

2009-08-07 Thread Shawn H. Corey
Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. See http://perldoc.perl.org/perlop.html#Assignment-Operators -- Just my 0.0002 million dollars worth, Shawn Programmi

||= operator

2009-08-07 Thread Admin
Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: 'Join' query

2009-08-07 Thread jet speed
On Fri, Aug 7, 2009 at 4:46 PM, Shawn H. Corey wrote: > jet speed wrote: > >> Hi, >> >> I would like to join the $abc with ':' the final desired output 1:2:3:4:5 >> >> #!/usr/bin/perl >> >> use strict; >> use warnings; >> >> my $abc = "1 2 3 4 5"; >> my $out = join ':', $abc; >> print "$out"; >>

Re: 'Join' query

2009-08-07 Thread Shawn H. Corey
jet speed wrote: Hi, I would like to join the $abc with ':' the final desired output 1:2:3:4:5 #!/usr/bin/perl use strict; use warnings; my $abc = "1 2 3 4 5"; my $out = join ':', $abc; print "$out"; executing the above, i get the same output 1 2 3 4 5, not sure were am going wrong. Any he

Re: Search in LDAP using Perl

2009-08-07 Thread Juan Pablo Feria Gomez
> I m working on Net::LDAP module in perl to manage ldap database, > > but i dont know how can i get all the uid's and names of the groups, > i have try the Search function of Net::LDAP but still not able to get it, > Alpesh, take a look on http://www.linuxjournal.com/article/7086 Is your LDAP di

Re: 'Join' query

2009-08-07 Thread John W. Krahn
jet speed wrote: Hi, Hello, I would like to join the $abc with ':' the final desired output 1:2:3:4:5 #!/usr/bin/perl use strict; use warnings; my $abc = "1 2 3 4 5"; my $out = join ':', $abc; print "$out"; executing the above, i get the same output 1 2 3 4 5, not sure were am going wron

Re: 'Join' query

2009-08-07 Thread Dermot
2009/8/7 jet speed : > Hi, > > I would like to join the $abc with ':'  the final desired output 1:2:3:4:5 > > #!/usr/bin/perl > > use strict; > use warnings; > > my $abc = "1 2 3 4 5"; > my $out = join ':', $abc; > print "$out"; > join works on arrays (LIST). You feeding it a scalar. @abc = qw/1

Re: 'Join' query

2009-08-07 Thread Telemachus
On Fri Aug 07 2009 @ 4:03, jet speed wrote: > Hi, > > I would like to join the $abc with ':' the final desired output 1:2:3:4:5 > > #!/usr/bin/perl > > use strict; > use warnings; > > my $abc = "1 2 3 4 5"; > my $out = join ':', $abc; > print "$out"; The function join works on lists not scala

Re: 'Join' query

2009-08-07 Thread Jim Gibson
On 8/7/09 Fri Aug 7, 2009 8:03 AM, "jet speed" scribbled: > Hi, > > I would like to join the $abc with ':' the final desired output 1:2:3:4:5 > > #!/usr/bin/perl > > use strict; > use warnings; > > my $abc = "1 2 3 4 5"; > my $out = join ':', $abc; > print "$out"; > > executing the above,

'Join' query

2009-08-07 Thread jet speed
Hi, I would like to join the $abc with ':' the final desired output 1:2:3:4:5 #!/usr/bin/perl use strict; use warnings; my $abc = "1 2 3 4 5"; my $out = join ':', $abc; print "$out"; executing the above, i get the same output 1 2 3 4 5, not sure were am going wrong. Any help on this would be

Re: iterating over a hash to print it

2009-08-07 Thread John Refior
On Thu, Aug 6, 2009 at 3:36 PM, Nick Brown wrote: > Sorry for the late reply. > > I actually switched to using: > > use Finance::OFX::Parse::Simple; > > http://search.cpan.org/dist/Finance-OFX-Parse-Simple/lib/Finance/OFX/Parse/Simple.pm > > and this does appear to parse the data. > >my $ofx_