Hi im new to perl can some one explain me, what do these patterns look for ?
next if m/^\s*#/;
next if m/^\s*$/;
if (m/^\s*\[\s*(.*)\s*\]/)
next unless m/^\s*([^=\s]+)\s*=\s*(.*)\s*$/;
value =~ s/#.*//;
$value =~ s/^\s*//;
$value =~ s/\s*$//;
$value =~ s/^"//;
$value =~ s/"$//;
$value =~ s/^'//;
$value =~ s/'$//;
thanks
next if m/^\s*#/;
next if m/^\s*$/;
if (m/^\s*\[\s*(.*)\s*\]/)
next unless m/^\s*([^=\s]+)\s*=\s*(.*)\s*$/;
value =~ s/#.*//;
$value =~ s/^\s*//;
$value =~ s/\s*$//;
$value =~ s/^"//;
$value =~ s/"$//;
$value =~ s/^'//;
$value =~ s/'$//;
thanks