[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] "if file-e" functionality in user tag?


On 8/7/05, Jeff Boes <suppressed> wrote:
> 
> >
> > The -f file test -- which should be OK for testing for an image
> > file -- is allowed by default.  That means
> >
> >       if (-f $file) { do_something() }
> >
> > should work fine.
> 
> 
> Hmph. You might think so, but ...
> 
> Configuring catalog vanilla...UserTag 'veh_image' subroutine failed safe
> check: '-e' trapped by operation mask at (eval 381) line 17, <CONFIG>
> line 25.
> 
> UserTag 'veh_thumb' subroutine failed safe check: '-e' trapped by
> operation mask at (eval 383) line 12, <CONFIG> line 20.

-f will have the same effect as -e in this context. I believe Mike was
suggesting you use -f instead of -e.

Jeff

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.