shushu has asked for the wisdom of the Perl Monks concerning the following question:
To get the value of the working directory.$machine->work_dir
While the users want to write:my $directory = $machine->work_dir . "/subdir/" . $machine->software_v +ersion . "/";
Which will give them something like "HASH=(34234)->work_dir/subdir/HASH=(34234)->software_version/".my $directory = "$machine->work_dir/subdir/$machine->software_version/ +";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing -> to work within a string
by fruiture (Curate) on Mar 19, 2003 at 11:35 UTC | |
|
Re: Changing -> to work within a string
by Jenda (Abbot) on Mar 19, 2003 at 12:22 UTC | |
|
Re: Changing -> to work within a string
by broquaint (Abbot) on Mar 19, 2003 at 11:30 UTC | |
|
Re: Changing -> to work within a string
by Pardus (Pilgrim) on Mar 19, 2003 at 13:00 UTC | |
by shushu (Scribe) on Mar 19, 2003 at 18:02 UTC | |
|
Re: Changing -> to work within a string
by Marcello (Hermit) on Mar 19, 2003 at 12:58 UTC | |
by davis (Vicar) on Mar 19, 2003 at 13:36 UTC | |
by Marcello (Hermit) on Mar 19, 2003 at 13:43 UTC | |
|
(dkubb) Re: (1) Changing -> to work within a string
by dkubb (Deacon) on Mar 20, 2003 at 06:38 UTC | |
|
•Re: Changing -> to work within a string
by merlyn (Sage) on Mar 22, 2003 at 16:33 UTC |