[PLUG] Perl question
William A Morita
wamorita at hevanet.com
Sat Sep 6 01:56:07 UTC 2008
I was translating a bash script to perl and encountered this dilemma:
In bash I can do
ScriptDir=$(cd $(dirname $0) ; pwd)
I tried doing the equivalent in perl, but the sticking point seems to be the
";" in the middle of the compound statement.
Maybe I'm overlooking something obvious here.
Some suggestions guys?
- Bill
wamorita at hevanet.com
Home: (503) 697-6994
Cell: (503) 260-3876
More information about the PLUG
mailing list