|
From: Andreas R. <ro...@cb...> - 2006-06-28 10:57:15
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I want to commit codesnippets to an external program by console.run()
and it seems to me that all perl-variables of type $var will be
eliminated in this process (pE. "my $isheader='true';" -> "my ='true';")
How could be protected such a string, so it never will be substituted.
I am using this call:
codesnippet=textArea.getSelectedText();
[..]
console.run(
_shell ,
null,
new BufferOutput(console, mode),
null,
"/usr/bin/perl " + path + " " + subname + ' ' + '"' +
codesnippet + '"'
);
Any hints?
Bye Andreas
- --
Software Developer / Dipl. Inform. (FH)
Max Planck Institute for Human Cognitive and Brain Sciences
Department of Psychology
Stephanstr. 1a, 04103 Leipzig, Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEomCEGBhgJGthyeERAmqTAJoCOe0gXFpEnOYOU/VGPv8E6JSmPQCeLdOh
Yks2z9FMPuK34DEcehQNeq0=
=rtX0
-----END PGP SIGNATURE-----
|