473,385 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

A question related to Variables in Perl

Hi,

I came across that variables in perl can have a maximum of 256 character anything more than that is rejected

I want to have a variable which has text which is longer than 256 characters.When the text in the variable exceeds 256, the excess text is not taken in the variable. thats because of the obvious reason (the size of the variable)

is there any other type of variable which can hold more number of characters?

Thanks

Ravi
Jun 25 '07 #1
5 1664
miller
1,089 Expert 1GB
Ravi,

There is no such limitation.

- Miller
Jun 25 '07 #2
KevinADC
4,059 Expert 2GB
Your information is incorrect. Hash keys have a limit, I don't remember what it is, but I am sure it's longer more than 256 bytes, but thats because hash keys are strings, not variables. Besides that, scalars ($) and arrays (@) and hash values have no limit except how much memory your computer has.
Jun 25 '07 #3
KevinADC
4,059 Expert 2GB
race condition :)

.....
Jun 25 '07 #4
miller
1,089 Expert 1GB
race condition
I win! :)

- M
Jun 25 '07 #5
KevinADC
4,059 Expert 2GB
hehehe... :)

........
Jun 25 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Sandman | last post by:
The subject says it all. I am doing a: I have a perl script in which I am using a ReadParse routine that parses the $ENV{'QUERY_STRING'} or $ENV{'CONTENT_LENGTH'} which are two variables passed...
9
by: Mark | last post by:
This may be a dumb question but can you tranfer variables stored in a PHP page on one server to a page on a different server via a form POST and be able to access those variables on the new page...
1
by: Joe | last post by:
I am trying to write a Perlscript to be used with some HTML pages. Here is how it works: 1.. The first HTML page has a form which requests for user input. Then it passes the QUERY_STRING...
3
by: coolprashh | last post by:
Hi Guys, I hope you can help me out with this .... its really urgent !! I am using PERL as the scripting language and WML as the formatting language as I am working on a WAP application. I...
0
by: Harch84 | last post by:
Hi guys need some serious help I have a PostgreSQL database full of bus routes and bus stops. I am drawing them out using perl and manipulating the data. What I need to be able to do is to compare...
3
by: davidwalker611 | last post by:
Hi PHP supplies variables such as $_SERVER for discovering the user name of an authenicated user (for example someone who has logged onto a web page using htdigest). Is there any similar set of...
1
by: Tension | last post by:
Hi. I have a Perl script that starts a build process (plus a lot of other things). The build process needs a few environment variables set. This is done automatically in a buildEnv.bat script...
5
by: veeraiah | last post by:
Hi, I am new to PERL Scripting, i need your help with one of the problem i am having. I am having a PERL Script which has two variables $CurMon and $PriorMon. a Windows batch script calls this...
6
KevinADC
by: KevinADC | last post by:
This snippet of code provides several examples of programming techniques that can be applied to most programs. using hashes to create unique results static variable recursive function...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.