> 2- $Tag = system ("gettag.pl -q $TagName") ;
> print "Tag: $Tag";
>
> * Two things happen here:
> A- If true will print to the screen
> 1 --> from the call to system
> Tag:0 --> from print
>
> B- if not true will print to the screen
> 0 --> from the call to system
> Tag:0 --> from print
>
> But I could not capture it into a variable that I can manipulate
>
>
in gettag.pl, use
exit 1; # if true
or
exit 0; # if false
at the end of your script.
That should make #2 work.
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]