Prager, Mark wrote: >Hi - >I want to pass a parameter for timenow to a perl script - >so the parameter can be either > >now or >now+NoOfMinutes > >How can I parse this easily in perl to get the no of minutes ( zero or more ) ? > What's wrong with @ARGV or Getopt::Std and some basic regex? $ARGV[0] =~ m/now\+(\d+)$/; --Yuval