The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-17-2008
JamesGoh JamesGoh is offline
Registered User
 

Join Date: Nov 2007
Posts: 79
scalar variable assignment in perl + { operator

When reading over some perl code in a software document, I came across an assignment statement like this

$PATH = ${PROJECT}/......./....

In this particular form of scalar variable assignment, what does the curly braces operators do ? Also, what is the benefit in doing scalar assignment this way ?

many thanks
Reply With Quote
Remove advertisements
!!
Forum Sponsor