ActiveState and spawning commands

Eugene Tsyrklevich eugene at securityarchitects.com
Tue May 30 11:23:56 CDT 2000


~sdpm~
> > how about
> > system("identify", "image.jpg") == 0 or die "system failed: $?"
> > does that fail too?
> 
> I assumed that if backtick and opening a pipe fail, system will 
> undoubtedly fail, too.  Yup -- I just tried it.


you assumed wrong.

 
> Actually, in today's test, all three variants (backtick, pipe, system) 
> fail without setting $? nonzero!  And yet, the very same command, 
> from the command line, works.
> 
> >what version of perl are you using?
> 
> I think I'm using ActivePerl version 5.20.  perl -v reports binary build 
> 522, from 11/99.
> 
> > did you see  http://www.imagemagick.org/www/perl.html ?
> 
> Of course.  

so what version of perl (not activeperl version/build) are you using?
according to the above webpage perl version 5.005_02 or higher is required for perlmagick to work 
~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list