Re: Seeding variables from command line
Thank you all, worked like a charm. Old shell habits are hard to break ;-) Derrick Ballentine Automation Support Specialist District Court - Western Arkansas
Seeding variables from command line
Sorry to bother everyone, but i was working on this yesterday and i couldn't get it to work. I guess i have the wrong syntax for passing variables in from the command line. Here's my script: = crypt.pl = #!/usr/bin/perl my $pwd = $1; my $seed = $2; my $key = substr(crypt("$pwd","$seed