in reply to Adding 2 + 2
It's late, it's time for bed, and I couldn't make Inline work in 30 seconds, so I cheated...#!/usr/local/bin/perl -w use strict; { my $addy = "2 + 2"; print "Adding $addy = ", eval ($addy), "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (jcwren) RE: Adding 2 + 2
by merlyn (Sage) on Sep 11, 2000 at 07:44 UTC |