| Zaphar_work | Juerd: :-) |
| AnAnt | can the s/// operator operate on an array ? |
| Ani-_ | Zaphar_work: are you doing the quoting of the arguments yourself or is it handles by a module on CPAN? |
| Zaphar_work | Ani-_: myself |
| Ani-_ | Then that is your error. |
| cfedde | Zaphar_work: do you have a small but otherwise complete example that exhibits this problem? |
| Zaphar_work | at least until I can get everything migrated over it's legacy code |
| Ani-_ | Paste the code you are using on the paste site. |
| Jmax- | AnAnt: no. s/// foreach @arr; hmm actually i dunno if that will edit in-line |
| Zaphar_work | cfedde: I wish I did but it's in a bunch of files scattered all over |
| Jmax- | eval: @arr = qw/stuff to f with/; s/f// foreach @arr; \@arr; |
| buubot | Jmax-: ['stuf','to','','with'] |
| AnAnt | Jmax-: cool, thanks |
| Jmax- | yep, it does |
| Ani-_ | Zaphar_work: also: in your code: use Data::Dumper; $Data::Dumper::Useqq = 1; print Dumper [ DeviceSerial, $DeviceModel, $DeviceVendor ]; and paste that output on the paste site aswell. |
| AnAnt | s/// foreach @arr worked |
| Jmax- | :) |
| cfedde | Zaphar_work: if you are going to report a bug it would be nice to have a consise script that exercises it. |
| Ani-_ | I bet you that it is his 'quoting code' that is broken. |
| cfedde | concise even |
| Zaphar_work | Ani-_: thanks for the tip I'll try that |
| Ani-_ | One of the reason why (real) placeholders exists is so that you don't have to worry about it. If you insist on adding the quotes yourself then there is a fairly good chance that it is broken. |
| spyroboy | Once I open a socket, is there a way to reopen a file handle to that socket using an identification number or something? |
| Ani-_ | You chose to do it yourself and now you have a statement that doesn't work... |
| cfedde | the error message you get back will have the quotes expanded. |
| Zaphar_work | Ani-_: I know but like I said I have a lot of code that has to be rewritten begore I can do that one thing at a time |
| Juerd | Very unlikely. |
| action | Juerd thinks the problem is already solved. |
| Juerd | thinks the problem is already solved. |
| Ani-_ | Which problem? |
| Juerd | zaphar's |
| gnari | Zaphar_work, try to make a simple test case that only uses pure DBI calls |
| Zaphar_work | I have enough to go on anyway thanks for all the help guys |
| Ani-_ | Zaphar_work: paste the information I asked on the paste site. Or else you will recieve no further help. (Atleast not from me.) |
| Zaphar_work | Ani-_: I'm getting there one sec |
| Ani-_ | AFAIK you haven't supplied the exact values of the variables (even though I already told you twice how to see it). And you also haven't supplied the code you are using to quote the variables either. Both of which are very critical for solving a problem. |
| gnari | does DBD::Pg really crash windows webservers ? |
| eightbitbastard | i cloned a blessed hash (object) that has a subroutine, lets call it toString. when i map over the object and call a method against said objects, it fails to find its methods. the object itself prints as Morris::Board=HASH(0x71e1d0), so it should be a valid object.... |