Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpda!hpcuhc!hpycla!hpyhde4!hpcc05!hpcc01!okamoto From: okamoto@hpcc01.HP.COM (Jeff Okamoto) Newsgroups: comp.lang.perl Subject: ".." inside a variable Message-ID: <1180016@hpcc01.HP.COM> Date: 3 May 91 17:24:14 GMT Organization: Cha Cha Maru Lines: 19 I'm trying to get the .. construct to work when it is passed in as a command line argument. What I am having trouble with is getting the .. to properly expand. I've tried a bunch of ways to force the result into an array context, but I'm obviously doing something wrong. I've tried a number of variations on the following, to no avail: $a = "'A0'..'A9'"; # Eventually will be shift(@ARGV); eval "\@b = (\$a)"; Can anyone offer any suggestions? -- \ oo The New Number Who, \____|\mm Jeff Okamoto //_//\ \_\ HP Corporate Computing & Services /K-9/ \/_/ okamoto@ranma.corp.hp.com /___/_____\ ----------- (415) 857-6236