variable question

M

M0stro

what is the difference between a variable, example - $var, and a variable
written like {$var}


how would I add a wildcard to a variable that's inside of brackets

also, what is this character called - {

it's not a bracket
 
D

David K. Wall

M0stro said:
what is the difference between a variable, example - $var, and a
variable written like {$var}

I think you mean ${var}. Look in perldata, starting with the paragraph
that begins "As in some shells". If you don't mean ${var}, then its
meaning depends on the context.

how would I add a wildcard to a variable that's inside of brackets

I don't know what that means.
 
T

Tad McClellan

M0stro said:
what is the difference between a variable, example - $var, and a variable
written like {$var}


We cannot tell without seeing what context the {$var} usage is in.

If you instead meant what is the difference between $var and ${var},
then the answer is: there is no difference.

how would I add a wildcard to a variable that's inside of brackets


I don't understand your question there...

also, what is this character called - {

it's not a bracket


It is a "curly brace" or "curly bracket".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top