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

Mike Heins mike at perusion.com
Sun Aug 7 01:00:18 EDT 2005


Quoting Jeff Boes (jeff at endpoint.com):
> 
> > 
> > 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.

Did I say -e? No. I said -f.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Nature, to be commanded, must be obeyed. -- Francis Bacon


More information about the interchange-users mailing list