Please fix your quoting. Post your reply *below* the material you are
replying to, and trim the quotes appropriately. This is not the first
time you have been asked. If you continue to be rude by ignoring these
requests, people will not be likely to continue to help you.
"Bernard El-Hagin"
[don't top-post]
a said:
"Jürgen Exner"
a wrote:
Can I do the following?
my @ary;
$ary[0]="a";
$ary[1]="b";
Have you tried it? What happened?
Syntax error complains but not specific
They are always specific. What was the error message you got?
syntax error at filename line 20, near "]~"
You do not have any ]~ sequence in the code you showed. Therefore, the
code you showed us has nothing to do with your error.
Please read the posting guidelines for this group. Then post a SHORT
but COMPLETE script that demonstrates the error you are having.
Paul Lalli