[LONG, off-topic]] Interactive Programming (fwd)

David Formosa dformosa at st.nepean.uws.edu.au
Mon Oct 20 13:32:09 PDT 1997



-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 20 Oct 1997, Brandon Crosby wrote:

> > As are some perl programmers.  As both a perl programmer and a lisp
> > programer I have never had the need to use self modifing code.

> PERL is a pretty high-level language... how do you add sub's after
> running the code?

$evalme = 'sub { print "This is modifed code.\n" }';
eval $evalme;

There are other ways.

- -- 
Please excuse my spelling as I suffer from agraphia see the url in my header. 
Never trust a country with more peaple then sheep.  ex-net.scum and proud
You Say To People "Throw Off Your Chains" And They Make New Chains For
Themselves? --Terry Pratchett

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNEu6MqQK0ynCmdStAQHdXwQA4ONzjWUotM3COSFwMGQBIIMoPhg5XJkT
FRJRzv63Oba1rR6imBJhW0SFeCFKEpsHrg3JX/Mswo4QKCw7EhOX1Fb22LlFEZ/c
ldrM1aV+Lbu469dIG219oUyIeEeBNEGASpOgMR69aToWOT5l3qk4TwYr6U+irTTd
o0yebLk/n1E=
=Yc1p
-----END PGP SIGNATURE-----







More information about the cypherpunks-legacy mailing list