 |
|
Home:
Perl Programming Help:
Intermediate:
Re: [rovf] make perl script monolithic:
Edit Log
|
|

schnick
New User
Oct 12, 2011, 6:21 AM
Views: 1292
|
|
Re: [rovf] make perl script monolithic
|
|
|
Hi rovf, the expanded code should look somehow like: App.pl Code #--------------------------------------------------------------------- # This is App.pl ##use Foo; # commented out by 'expander' sub bar {} # inserted automaticaly by 'expander' from Foo sub baz {} # inserted automaticaly by 'expander' from Foo bar(); eval { baz() }; my $x='Foo:f'; ## (*) eval $x.'oul()'; ## (*) #--------------------------------------------------------------------- you are right, I haven't thought about stuff like this (*) :( Probably because I don't have such things in my code - for that reason, strings can stay the same... But you already showed me, that this problem is not as trivial as I thought :( cheers schnick
(This post was edited by schnick on Oct 12, 2011, 6:29 AM)
|
|
|
Edit Log:
|
|
Post edited by schnick
(New User) on Oct 12, 2011, 6:27 AM
|
|
Post edited by schnick
(New User) on Oct 12, 2011, 6:29 AM
|
|
|  |