On 8/9/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Now I have made two EOT statements and also now I got the same error. I
> have removed the space/tab also before EOT. Here is the code
snip
A space after the EOT will also cause a problem. Have you considered
not using HereD
quot;;
Select one of the project:
@proj
Your choice:
EOT
}
else {quit();}
Please help.
Regards
Irfan.
-Original Message-
From: Jeff Pang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 06, 2007 8:44 PM
To: Sayed, Irfan (Irfan); beginners@perl.org
Subject: R
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 subroutine
-Original Message-
>From: "Sayed, Irfan (Irfan)" <[EMAIL PROTECTED]>
>Sent: Aug 6, 2007 11:03 AM
>To: beginners@perl.org
>Subject: Error in executing the script
>
>Hi All,
>
>I have following script
>
>#!/usr/atria/bin/Perl
>use stri
Remove the tab or spaces before the EOT label. It must be the only thing
on that line.
Bob McConnell
> -Original Message-
> From: Sayed, Irfan (Irfan) [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 06, 2007 11:03 AM
> To: beginners@perl.org
> Subject: Error in execu
Hi All,
I have following script
#!/usr/atria/bin/Perl
use strict;
use warnings;
# Subroutine prototypes
join_proj();
rebase();
deliver();
quit();
# Define the actions to take
my %action_to_take = (
'1' => \&join_proj,
'2' => \&rebase,
'3' =