Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8638415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:43:21+00:00 2026-06-12T10:43:21+00:00

Here is the code that will produce error: #!/usr/bin/env perl use strict use warnings

  • 0

Here is the code that will produce error:

#!/usr/bin/env perl
use strict
use warnings FATAL=>'all';

use ExtUtils::Installed;

my $instmod = ExtUtils::Installed->new();

foreach my $module ($instmod->modules())
{
    my $version = $instmod->version($module) || "???";
    print "$module -- $version\n";
    }

Just dont use “;” in use strict

error:

syntax error at ListModules.pl line 3, near "use strict
use warnings "
Execution of ListModules.pl aborted due to compilation errors.

Perl Version info:

This is perl 5, version 12, subversion 4 (v5.12.4) built for x86_64-linux-gnu-thread-multi
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:43:22+00:00Added an answer on June 12, 2026 at 10:43 am

    In short, no. But it’s not quite that simple.

    There is a difference between a syntax error and a human error. Your human error was to omit the ; at the end of line 2, but this resulted in a syntactical error on line 3. There is no way for your computer to know that you meant to write a ; on line 2, and it would be counter-productive for it to try to guess.

    It’s only with the benefit of hindsight — you have the memory of your intentions — that you can see a differential between the error output and what you spot with your eyes.

    In conclusion, the output is correct; it’s just reporting something subtly different from what you’re looking for… and what you are looking for is intractible. Learning to read error messages and translate them into the knowledge you need to spot the human error is an invaluable programmer’s skill, and it comes naturally with practice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This code will produce error in c++ // Foo.cpp const int Foo = 99;
Possible Duplicate: const and global This code will produce error in c++ // Foo.cpp
Below is python code that attempts to find the sum of all values divided
Can someone please tell me where is the error in this code?, I use
Hello I have a code like that : try { // Here I call
I'm trying to write a unit test that will ensure an HTTPException is raised
Quick question. Here is my code: #routes map.resources :customers, :has_many => [:addresses, :matchings] map.connect
The following code will not compile against the Async CTP in Visual Studio 2010:
I can't figure out a clean way to implement an algorithm that will work
Here is the code I am using in the label function. Some of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.