-

: 36251 : 0
" ..."
: 1836 : 0

 -

  • (74)
  •     (33)
  • (11)
  • (8)
  • (6)
  • (5)
  • On Perl Perl (5)
  • (4)
  • (2)
  • (1)
  • psd, png (1)
  • (2)
  • (1)
  • PS (5)
  • (1)
  • (1)
  • (6)
  • (2)
  • (8)
  • (38)
  • (11)
  • (15)
  • (5)
  • (1)
  • (1)
  • (5)
  • (21)
  • (2)
  • (0)
  • (1)
  • (1)
  • (1)
  • (15)
  • (4)
  • (6)
  • (31)
  • - (37)
  •     (7)
  •     (5)
  •     (4)
  •     (4)
  •     (3)
  •     (1)
  •     (1)
  •     (1)
  • (35)
  •     - (13)
  •     (5)
  •     (4)
  •    3 (3)
  • (12)
  • (2)
  • (18)
  • (4)
  • (1)
  • , , (13)
  • (310)
  • - (28)
  •     (3)
  •     (1)

 -

   __

 - e-mail

 

 -

 LiveInternet.ru:
: 09.11.2009
: 795
: 100
: 1214

:

On Perl Perl.


: - (28), (74), (310), , , (13), (1), (4), (18), (2), (12), (5), (35), -(37), (31), (6), (4), (15), (1), (1), (1), (0), psd, png(1), (2), (21), (8), (4), (5), (1), (1), (11), (5), (15), (11), (2), (38), (8), (1), (2), (6), (6), (1), (1), PS(5), (1), (2)
(0)

fork

, 16 2009 . 12:11 +
what_me: fork
, . true, false, " ":
On Perl Perl

:  
(0)

XML

, 16 2009 . 11:30 +
XML . , , , XML :





XML XML::LibXML , , , , , , :

my $context = new XML::LibXML::XPathContext;
$context->registerNs('yablogs', 'urn:yandex-blogs');

my @codeNodes = $context->findnodes("yablogs:$nodeName/text()", $node);

.
On Perl Perl

:  
(0)

Unix::PID

, 16 2009 . 11:11 +
, ( 3 ) . , 3 . - . -
use Unix::PID '/var/run/my-config-build.pid';

, , . ( LA) , .

pid - 3-4 . , - . - .

- , , ?

upd: ,
use Unix::PID '/var/run/this.pid';

use Unix::PID;
Unix::PID->new()->pid_file_no_unlink('/var/run/this.pid')
or die 'The PID in /var/run/this.pid is still running.';
, - .
On Perl Perl

:  
(0)

- defined, undef?

, 16 2009 . 11:06 +
$discounts = _hasDiscounts($service); #returns 1
$data->{hasDiscounts} = $discounts; # now it is 1
warn $o->isCustomPrice; # returns 1
$data->{hasDiscounts} = undef if $o->isCustomPrice; # 1
# - print $data->{hasDiscounts} (***)

#warn $data->{hasDiscounts}; # - - undef, .

- , , .. undef .
- ?

#perl -v
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi


upd:, *** - .

print - print, , , fastcgi . - ( ), , HTML::CTPP2.
On Perl Perl

:  
(0)

use feature Perl 5.10.1

, 16 2009 . 10:50 +
use v5.10, , :-)

use v5.10 :

use feature ':5.10';

Perl 5.10.1 ( 5.10) . :

use feature ':5.10.1';
use feature ':5.10';

Perl 5.10, , Perl 5.10.1 , :

use feature ':5.10.3';

Perl 5.10 :

Feature bundle "5.10.1" is not supported by Perl 5.10.0 at usefeature.pl line 1
BEGIN failed--compilation aborted at usefeature.pl line 1.

, use feature use vX.Y.Z. :

use v5.10.3;
say "test";

Perl v5.10.3 required--this is only v5.10.1, stopped at usefeature.pl line 1.
BEGIN failed--compilation aborted at usefeature.pl line 1.
On Perl Perl

:  

 : [1]