[bcn-pm] yaml Died at
"Juan J. Merelo Guervós"
jmerelo at geneura.ugr.es
Wed Feb 16 09:01:50 PST 2005
Francesc Guasch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alguien estuvo más atento que yo el dia del YAML ?
>
> Lo estoy intentando usar y me peta así, nada mas
> cargar el archivo:
>
> my $string= "hola: adios\nzapatilla:\n\t- zipi\n\t- zape\n";
> print $string;
> my $config = Load($string);
>
> hola: adios
> zapatilla:
> ~ - zipi
> ~ - zape
Usa:
my $string= "hola: adios\nzapatilla:\n - zipi\n - zape\n";
Es decir, cambia los \t por " "
JJ
More information about the Barcelona-pm
mailing list