newatperl has asked for the wisdom of the Perl Monks concerning the following question:
The output I get is:$one = "YAR033W"; $two = "YAR033W"; @source = ("ITOCORE"); @exper = ("n/a"); print " ($one)($two)(@source)(@exper) \n"; parsed_pair($one, $two, @source, @exper); ... sub parsed_pair { my ($one, $two, @source, @exper) = @_; print " ($one)($two)(@source)(@exper) \n"; .... }
The two printouts should be exactly the same. I'm not even sure how to address this. Anyone have any idea why they're not?(YAR033W)(YAR033W)(ITOCORE)(n/a) (YAR033W)(YAR033W)(ITOCORE n/a)()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: weird variable concatenation
by Chmrr (Vicar) on Mar 07, 2002 at 05:36 UTC |