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 3597618
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:08:29+00:00 2026-05-18T20:08:29+00:00

Most PHP Developers are likely familar with the Syntax Highlighter called GeSHi , which

  • 0

Most PHP Developers are likely familar with the Syntax Highlighter called “GeSHi“, which takes code, highlights it, with the use of HTML and CSS:

include('geshi.php');
$source = 'echo "hello, world!";
$language = 'php';
$path = 'geshi/';
$geshi = new GeSHi($source, $language, $path);
echo $geshi->parse_code();

GeSHi Supports a wide range of languages.

I wonder, is there a similar Module for Perl?

  • 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-05-18T20:08:29+00:00Added an answer on May 18, 2026 at 8:08 pm
    1. Perl has a port of Kate highlighting system: Syntax::Highlight::Engine::Kate which seems to be somewhat close to what you need. It appears to be part of Padre.

    2. You also have an option of HTML client side highlighters (logic is obviously JS), such as Google’s code prettifyer

    3. Two good lists of syntax highlighting engines are:

      • Wiki syntax highlighting article – among the ones it lists, the Perl ports/APIs seem to exist for Kate and Colorer (Syntax::Highlight::Universal)

      • This very good review of HTML syntax highlighters, which contains a lot of client-side ones such as SHJS and many others.

    4. Please be aware that NONE of those generic highlighters work “100% correctly”, the way the syntax highlighters work in good IDEs, because they use regular expressions for approximate parsing instead of lexers for actual language grammar parsing. More details on the Wiki

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

Sidebar

Related Questions

Most PHP Developers are likely familar with the Syntax Highlighter called GeSHi , which
I've got a php script. Most of the time the script returns html, which
Most websites use - (like Stack Overflow) but most PHP frameworks generate + encoded
Memory management is not something that most PHP developers ever need to think about.
Most of my PHP apps have an ob_start at the beginning, runs through all
What's the most efficient way to resize large images in PHP? I'm currently using
When running PHP in CLI mode, most of the time (not always), the script
is there an alternative for mysql_insert_id() php function for PostgreSQL? Most of the frameworks
Most of time we represent concepts which can never be less than 0. For
I am working on a few PHP projects that use MVC frameworks, and while

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.