Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Can you translate this Perl code to C ?
($header, $body) = split(/\n\n/, $CONFIG{'Variable'}, 2);
$header =~ /^Number: (.+)/m and $number = $1;
Thanks,
John
($header, $body) = split(/\n\n/, $CONFIG{'Variable'}, 2);
$header =~ /^Number: (.+)/m and $number = $1;
Thanks,
John
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Translate Perl to C
by nardo (Friar) on Aug 06, 2001 at 01:54 UTC | |
Re: Translate Perl to C
by John M. Dlugosz (Monsignor) on Aug 05, 2001 at 22:41 UTC |
Back to
Seekers of Perl Wisdom