473,395 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,395 software developers and data experts.

expr $abc || =1;

sanjay123456
125 100+
Dear friends ,

I am new in perl so plz tell me what is meaning of the following expression ..

$abc ||=1;



sanjay
Apr 24 '07 #1
2 1032
KevinADC
4,059 Expert 2GB
"||=" is one of perls assignment operators. Basically means: "equals or "

if $abc was not already defined it is assigned the value of 1 (one)
Apr 24 '07 #2
sanjay123456
125 100+
Dear KevinADC ,

Thanks for ur reply .........
my problem is solved
Apr 24 '07 #3

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

Similar topics

3
by: Victor Irzak | last post by:
Hello, I have an ABC. it supports: ostream & operator << I also have a derived class that supports this operator. How can I call operator << of the base class for derived object??? Is it...
3
by: Frank Natoli | last post by:
Have two tables "abc" and "xyz", where "xyz" is a superset, column-wise, of "abc". Is there any simple way to inject all the rows of "abc" into "xyz"? Tried "insert into xyz select * from abc"...
0
by: Jiong Feng | last post by:
Hi, I have a ASP.net application, which is in root folder. I hope my http module to intercept requests like: http://localhost/abc/def http://localhost/abc/def/ http://localhost/abc/ where...
4
by: david | last post by:
I have created a datagrid with ID dgEncounter in form design, and add a HyperLink Column, Link, which is bounded to a field URLs that providing the URL of the page to go for each record. That is...
13
by: Michael M. | last post by:
In Perl, it was: ## Example: "Abc | def | ghi | jkl" ## -"Abc ghi jkl" ## Take only the text betewwn the 2nd pipe (=cut the text in the 1st pipe). $na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;...
0
by: NiteshR | last post by:
Hi. When i write a SELECT statement that returns a table with values, I am able to access the value individually using C#. When i write a SELECT statement that uses a COUNT(expr), I am unable to...
34
by: Umesh | last post by:
I want to extract a string abc*xyz from a text file. * indicates arbitrary no. of characters. I'm only able to do it when the string has definite no. of characters or the string length is...
1
by: Dave S | last post by:
I am currently in the process of converting an MDB to ADP linked to a SQL Server back end. In the MDB I have expressions in both queries and report controls that are essentially: ...
1
sanjay123456
by: sanjay123456 | last post by:
Dear friends , i am using shell script and file name is test.sh and in test.sh i am written echo expr 3+5; excution of this programe result is 3+5 its not give 8 so plz tell me where...
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: 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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.