SHARE
TWEET

Untitled

a guest Apr 26th, 2018 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/perl/bin/perl.exe -w
  2.  
  3. use strict;
  4.  
  5. my $username = 'zacko';
  6. my $password = 'zakar12as';
  7. my $database = 'smash';
  8.  
  9. open(SELECT,qq{mysql -u root -p$password $database -e
  10. "SELECT * from users" |}) or die $!;
  11.  
  12. my @results = <SELECT>;
  13. close SELECT;
  14.  
  15. print @results;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top