Both of them are used to declare local variables.The variables declared with "my" can live only within the block it was defined and cannot get its visibility inherited functions called within
Latest Answer : Perl supports three scoping declarations that enable to create private variables (using my) , selectively global variable (using our) and temporary copies of selected global variables (using local) ... my declares a variable to be scoped within the current ...
I have a variable named $objref which is defined in main package. I want to make it as a Object of Class XYZ. How could I do it?
How to find out whether reference is pointing to a scalar, array or hash?
Latest Answer : With 'ref' keyword we can find the data type of the variable. ...
Concepts of Object-Oriented Programming | |
Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a |
|
Working with XML in Perl | |
Working with XML in Perl Extensive Markup language or the XML is a sort of data storage; it is very structured and mapped out There are two most important aspects of XML that has to be covered one is writing in XML and reading it out in XML Parsers have already been created in XML and knowing how t |
|
|
|
What happens when a variable is not declared in function definition? | |
Generally in C program the function definition and calling takes the form as given below:
main()
{
int x,y,z;
z=sample(x,y);
printf(“%d”,z);
}
sample(x1,y1)
int x1,y1;
{
int z1;
z1= x1 - y1;
return(z1);
}
Here what happens is the values x, y gets passed to x1,y1 |
|
SQL Perl/PL Overview | |
Procedural languages provide the fundamental method for programming within an SQL database. In other articles in this series, we have covered the SQL-based procedural languages, but those are generally not the only procedural languages found in an SQL database. Procedural extensions for Perl and Jav |
|
SQL Programming | |
SQL Programming Overview
Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al |
|
The Interview Snafu | |
How to turn someone else’s mistake to your advantage
Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de |
|
Winning a Job Interview with a Winning Resume | |
Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof |
|
WinRunner Programming Concepts | |
If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn |
|
Programming Languages Certification | |
IT Certification programs have several options that will offer you the best knowledge. By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.
IT Certification offers several vari |
|
|