in reply to behaviour of do
I can't reproduce your behavior. It seems to Work For Me:
$ cat one.pl #!/usr/bin/perl do 'two.pl'; $ cat two.pl #!/usr/bin/perl warn "Oops"; do "three.pl"; $ cat three.pl #!/usr/bin/perl warn "Poops"; $ perl one.pl Oops at two.pl line 2. Poops at three.pl line 2.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: behaviour of do
by rsiedl (Friar) on Apr 14, 2006 at 02:26 UTC | |
by Anonymous Monk on Apr 14, 2006 at 07:30 UTC |