On Aug 6, 11:03 am, [EMAIL PROTECTED] (Irfan Sayed) wrote: > #!/usr/atria/bin/Perl > use strict; > use warnings; > > # Subroutine prototypes > join_proj(); > rebase(); > deliver(); > quit();
These are not subroutine prototypes. You are calling each one of those four subroutines. I can only assume what you *meant* to do was to *declare* those subroutines: sub join_proj; sub rebase; sub deliver; sub quit; <snip> > # Print the menu selection > print <<"EOT"; > Select one of: > 1. Join the project > 2. Rebase > 3. Deliver > 4: quit > EOT <snip> > I am getting following error. > Can't find string terminator "EOT" anywhere before EOF at merge.pl line 29 > > Can somebody please help Yes. Perl can. You should ask it (specifically, the standard documentation that comes with it) for help: $ perldoc -q document Found in /opt2/Perl5_8_4/lib/perl5/5.8.4/pod/perlfaq4.pod Why don't my <<HERE documents work? Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/