Filtered the /r out, and had to switch to shell_quote from quoteMeta as quoteMeta wasn't working quite right. I was using backticks as I needed to get the stderr and stdout. At a high level what I'm trying to do: parse a directory of iTunes playlists(m3u files) determine whether all the files in the playlist exist on my file server. If they do great, if they don't, output a playlist file, that lists which tracks are missing, what they are and where they go in the track order. Once i have that complied, I can import my playlists one by one and know whether I have the whole playlist, or if it's missing tracks. If it's missing tracks I can fix it. The issue i've been fighting with is if you import a playlist to itunes and are missing some of the files, itunes just dumps them. No error, nor any log that I've found. Thanks for all the help!$playListRow = shell_quote($playListRow); $playListRow =~ s/\r//g; my $result = `ls $playListRow `; print "$result\n";
In reply to Re: backtick iterpolation issue
by idlehands
in thread backtick iterpolation issue
by idlehands
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |