>
> for a new person, this could mean less confidence in perl and more
> interest towards php etc...
> ty.
> Rajeev
>
Hi Rajeev,
The idea is not to curry favour with one language or another, but help a
person get on with what they're doing. If Mark needs to know Perl for his
job, then I think we
>
> 临渊羡鱼,不如退而织网。
>
"Better to go home and weave a net than stand by the pond and admire the
fish"
Hi Sharan,
Have you considered using asynchronous events instead? You might find it's
easier to work out. (See EV, Coro, AnyEvent, etc. in the CPAN)
Otherwise, just.. read the manual on threads?
- Anneli
2011/11/6 Sharan Basappa
> Hello,
>
> We are in the process of writing a perl program tha
Hi Parag,
It's probably not a good idea to do this kind of indirection anyway. You're
better off using a hash; you don't know what you could be overwriting,
depending on the input to foo_bar, and it creates a class of bugs you're
better off avoiding worrying about.
See this well written article f
ge errno.
>
> Valid error numbers are all nonzero; errno is never set to zero by any
system call or library function.
2011/11/5 Ken Peng
> 于 2011-11-5 11:16, Anneli Cuss 写道:
>
> $! is not guaranteed to be cleared if there was no error. This means you
>> probably don't
$! is not guaranteed to be cleared if there was no error. This means you
probably don't have a "Bad file descriptor" error, it's just the last value
of $! (or 'errno'). See perlvar:
http://perldoc.perl.org/perlvar.html#Variables-related-to-filehandles
For example, let's try $! when I haven't run a
Hi Murali,
I'm not certain, but it sounds like XML::Parser might actually be
talking about the data from your XML-RPC call.
- Anne
2011/10/29 YAPH :
> Hi,
>
> When I try to call a remote methond through XMLRPC::Lite with the
> "call" method, this error is thrown back.
>
> "mismatched tag at line
> http://perldoc.perl.org/Term/ReadLine.html
http://perldoc.perl.org/Term/ReadLine.html#Additional-supported-functions
Try $terminal->ornaments(0); -- it works for me in this context:
my $terminal = Term::ReadLine->new('pw7');
$terminal->ornaments(0);
my $r = $terminal->readline; # no underline
Two comments:
02000 is 1024 in base 8; the leading 0 indicates octal much as leading 0x
indicates hex.
$a & $b returns the number with bits in common, so we expect 1024 & 1024 to
equal 1024 (or 02000 & 02755, the latter being a realistic file mode; note
these are in octal). This will be true in b