![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help for an assingment | punk_87 | UNIX for Dummies Questions & Answers | 1 | 08-08-2006 12:23 PM |
| how to get type of variable in perl | umen | Shell Programming and Scripting | 2 | 07-26-2006 10:29 PM |
| Passing variable to perl | TheCrunge | Shell Programming and Scripting | 2 | 06-06-2006 05:43 PM |
| perl - variable inheritance | gsatch | Shell Programming and Scripting | 2 | 03-28-2006 01:52 PM |
| Query string assingment for other variable in PERL | maheshsri | Shell Programming and Scripting | 0 | 01-30-2006 04:45 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
perl variable assingment
I want to assign the current user to a variable in my perl script.
My first attempt using Solaris 8 (perl 5) is: $VAR = system(logname); However, this assigns 0 to $VAR, and outputs the user to the screen. Does anyone know the command that I need? Thanks, seismic_willy |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|