Are there pointers in Perl? My attempts and finding info on this have turned up nothing...
I have a CS assignment I need to do, but I would like both pointers and regex
Otherwise I have to write it in C++ and code the pattern matching myself (ugh)
Alternatively, is there a struct like thing in Perl?
Basically, I want to be able to make something like this:
If at all possible
Thanks in advance,
Magus`
I have a CS assignment I need to do, but I would like both pointers and regex
Otherwise I have to write it in C++ and code the pattern matching myself (ugh)
Alternatively, is there a struct like thing in Perl?
Basically, I want to be able to make something like this:
orcode:<HR>Code:struct Node { char oper; Node *L, *R; }
code:<HR>Code:struct Node { char oper; Node L, R; }
If at all possible
Thanks in advance,
Magus`