CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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



schnick
New User

Oct 12, 2011, 6:21 AM


Views: 1672
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


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives