Description:
beginners@perl.org (Moderated)
|
|
|
Next subnet
|
| |
How do I find the next subnet? This should print 192.168.1.0 the
second time - it errors:
...
use strict;
use warnings;
use Net::IP;
my $ip = Net::IP->new('192.168.0.0/24') ;
print "Start ip [" . $ip->ip . "]\n";
print "start mask [" . $ip->prefixlen . "]\n";
$ip->set($ip->last_ip);... more »
|
|
help with some code
|
| |
Iam practicing from start and I have a problem with this code:
This is the comment of the console, i coulnd't give a round to it, pls
help...
Can't locate Glib.pm in @INC <@INC contains: C:/Dwimperl/perl/site/lib
C:/Dwimperl/perl/vendor/lib
C:/Dwimperl/perl/lib .> at janelahello.pl line 3.... more »
|
|
begining
|
| |
Can someone tell me or give a adress to programs like hello world or
similar, for practice.
Iam beging practice programming, and bought a book of perl, but i need
program to practice can someone give me a hand.
Best Regards
Ray
|
|
issue with threaded IO::Socket::INET
|
| |
Hi All,
I have an issue with a small piece of code. I am using IO::Socket::INET to
accept client connections from an socket, and then hand the connection off
to an newly created thread. As soon as an client disconnects (or interrupts
the tcp session), the script will exit completely. No errors, and the... more »
|
|
Battling with threaded TCP server
|
| |
Hi,
I am looking for assistance in programing an TCP Socket server. Effectively,
I am looking for a skeleton to do the following:
- Server starts up, and starts x amounts of threads (working)
- All threads connects to an remote server via TCP and idles, keeping
the connections alive (working)... more »
|
|
Tell me how to use CGI.pm in table
|
| |
Hi
Please help me.
I can only see Hilary Duff.
I can not see Taylor Momsen.
I would like to use table for that.
How should I do?
...use Modern::Perl;
use autodie;
use CGI;
my $q = CGI->new;
my %label = (
celeb => 'Who do you fancy? : ',
);
my %form = ( celeb => $q->radio_group(-name=>'celeb' ,... more »
|
|
What does $$ mean ?
|
| |
Greetings, What does this mean [CODE1] keys %{$$disk_type_ref{$pool}}; [/CODE1] Moreover, what does $$ mean here [CODE2] @{$$disk_type_ref{$pool}{$med_ value}} [/CODE2] What data structures does the above things denote? Any pointers will be of great help. Thanking you in advance. best, Shaji ------------------------------ ------------------------------ -------------------... more »
|
|
map problems
|
| |
hi,
in a ldap script where I get a list of values of a multivalued attribute
like this:
@memberof = qw( cn=group1,cn=xxx,dc=domain,dc= tld
cn=group2,cn=xxx,d=domain,dc=t ld etc etc) ;
I would like to use map to convert the list of elements to
@memberof = qw( group1 group2 group3 etc etc )... more »
|
|
|