dotcomma.org: Introduction to CGI Part 3: Perl Variables | Linux Today

dotcomma.org: Introduction to CGI Part 3: Perl Variables

Written By
Web Webster
Web Webster
Jan 2, 2000

“If you know any other programming language, you know what
variables are. Furthermore, if you know other programming
languages, you will be thrilled to see how Perl variables work. If
you don’t know other programming languages – well, it’s not a
difficult concept to understand. However, a solid understanding of
variables is crucial to programming.”

“What is a Variable?
A variable is a piece of memory on your computer that holds a
specific piece of data. This data can be in the form of integers,
real numbers, characters, or strings. You can store data into the
variable and then retrieve it, display it, or modify it at any
point in your program.
For example, you may have a real number
variable that the user inputs at one point in the program, then
later in the program sales tax is added to it, then the final
result is displayed. The program is relying on the number that the
user enters to compute the final result.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.