in reply to Re: Using $"
in thread Using $"
#!/usr/local/bin/perl # # Program to open the password file, read it in, # print it, and close it again. $file = '/etc/passwd'; # Name the file open(INFO, $file); # Open the file @lines = <INFO>; # Read it into an array close(INFO); # Close the file print @lines; # Print the array
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using $"
by 2teez (Vicar) on Dec 22, 2014 at 20:31 UTC | |
|
Re^3: Using $"
by LanX (Saint) on Dec 22, 2014 at 21:41 UTC | |
|
Re^3: Using $"
by soonix (Chancellor) on Dec 25, 2014 at 07:57 UTC |