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

[MacPerl] Wildcard



Hi!

Is there a way to use wildcards in perl? It would be nice if the folowing 
would work:

if ($text eq "t*") {print "$text\n"} # Where * is a wildcard

So the print comand is executed when $text is "tee" or "time" or ...



Thomas


########################################################################
#                                                                      #
# Visit the wild_side! webpages at http://www.uni-bielefel.de/~tboley/ # 
#                                                                      #
#                               ;-)                                    #
#                                                                      #
########################################################################


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch