diff options
author | David Landgren <david@landgren.net> | 2007-09-28 22:42:56 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-10-04 14:28:34 +0000 |
commit | 353c650532037e4006fbdb2176350717f320f7c3 (patch) | |
tree | d168025606b4a4daf862755b087c4ba3b29e97b5 /pod/perlembed.pod | |
parent | 94fcd414575e04d8b809003ba7bca1216090abff (diff) | |
download | perl-353c650532037e4006fbdb2176350717f320f7c3.tar.gz |
POD cleanups
Message-ID: <46FD4B30.9070802@landgren.net>
p4raw-id: //depot/perl@32026
Diffstat (limited to 'pod/perlembed.pod')
-rw-r--r-- | pod/perlembed.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlembed.pod b/pod/perlembed.pod index 41028f879e..f4b13a3af3 100644 --- a/pod/perlembed.pod +++ b/pod/perlembed.pod @@ -173,7 +173,7 @@ information you may find useful. In a sense, perl (the C program) is a good example of embedding Perl (the language), so I'll demonstrate embedding with I<miniperlmain.c>, -included in the source distribution. Here's a bastardized, nonportable +included in the source distribution. Here's a bastardized, non-portable version of I<miniperlmain.c> containing the essentials of embedding: #include <EXTERN.h> /* from the Perl distribution */ @@ -352,7 +352,7 @@ I<SvPV()> to create a string: a = Just Another Perl Hacker In the example above, we've created a global variable to temporarily -store the computed value of our eval'd expression. It is also +store the computed value of our eval'ed expression. It is also possible and in most cases a better strategy to fetch the return value from I<eval_pv()> instead. Example: |