doing grep inside perl file

Hi have one Perl file inside that i am defining
at an array file.

@temp_vmdk_files = `grep vmdk '$guest_vmx'`

where my $guest_vmx=/vmfs/volumes/47e40fec-9c8bb7f7-d076-001422159f8a/BES Exchange/BES-Exchange.vmx

and i am just want to do grep of "vmdk" files from the above path
but when i execute this Perl file i am getting following error

"grep: /vmfs/volumes/47e40fec-9c8bb7f7-d076-001422159f8a/BES"

please let me know how to define the grep for the above thing

Thanks

its issue with the value in the variable. there is a space in the directory name.

so this cant be resolved?

I cannot reproduce the problem here, the single quotes around the file name should already have fixed that. Also the error message looks incomplete. Is that really the whole message? Which platform is this?

Era, If you see the error, it just breaks at BES. Very likely that space is creating the issue.

"grep: /vmfs/volumes/47e40fec-9c8bb7f7-d076-001422159f8a/BES"

I see that, but I don't get the same error message here when I try a similar script, and the error message from grep is incomplete. It should say something like "file not found" or something.