Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: system command with arguments Error

by ansh batra (Friar)
on Jan 07, 2013 at 18:22 UTC ( #1012083=note: print w/replies, xml ) Need Help??


in reply to Re: system command with arguments Error
in thread system command with arguments Error

they are in the same directory. i have checked it .
and my code is running fine but when it reaches system("perl .......")==0 or die "cant run!!";
it outputs cant run!!

Replies are listed 'Best First'.
Re^3: system command with arguments Error
by ww (Archbishop) on Jan 07, 2013 at 18:59 UTC
    There's a less-baudlerized version of this statement:
    You can't just make stuff up and expect Perl to understand.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012083]
help
Chatterbox?
[Lady_Aleena]: File::Find doesn't have a simple sub wanted example, like get the name of the file.
[Discipulus]: there is also find2perl with your perl installation
[Discipulus]: and in the wanted sub you just calculate the duretion and add it the total, stop
[shmem]: sub wanted { push @files, $File::Find::name if $File::Find::name =~/\.mp3$/ }

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-04-23 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.