I have a variable $folder,I am trying to convert the value in it into uppercase with '' quotes around it,meaning for example if $folder=data,I want to print 'DATA'.Trying the below ,but it always prints "$FOLDER",how to dechipther the value in it and convert it to uppercase with ' ' wrapped around it
my $up= uc('"$folder"'); print "\n$up"; --->always prints "$FOLDER"
In reply to Converting to uppercase and wrapping '' by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |