I am new to PDL and please forgive my rudimentary question:
I have two simple pdl objects
pdl> p $a
[
[1 2 3]
[4 5 6]
]
pdl> p $c
[6 6 6]
I glue them together and return what I expect
pdl> p glue $b, $c
[
[1 2 3]
[4 5 6]
]
[6 6 6]
However, when I assign the glue to a variable $z the glue doesn't stick.
$z = glue $b, $c
pdl> p $z
[
[1 2 3]
[4 5 6]
]
What am I missing?
My ultimate goal is to build a large piddle by looping through a file using glue, cat or append.