I have to run a command in unix. And I have to match this expression from whatever output I get. I tried doing the following:
The same is followed by a html script in which the value of $exp must appear. But I am unable to do so...
Can u pls help! what is the best way to do this??
Thanks
BG
Code:
my $var = 'command'; my ($exp) = $var =~ m/pattern/;
Can u pls help! what is the best way to do this??
Thanks
BG
Comment