in reply to Grabbing tokens
Use backticks (' `command` ' or ' qx|command| '), like this:
Apologies for using a different command, but I don't have access to ActivePerl right now :}bash-2.05$ perl -le '$_ = qx[uname -a]; split; print join q[ :: ], @_' SunOS :: prdapp5 :: 5.8 :: Generic_108528-15 :: sun4u :: sparc :: SUNW +,Ultra-Enterprise
|
---|
In Section
Seekers of Perl Wisdom